// JavaScript Document

$(document).ready(function() {

//alert("hello");

				jQuery(function(){
			jQuery('ul.menusf-menu').superfish();
		});

$(".one").mouseover(
		function(){
			ResetImages();
  			$(".one").attr("src", "/Quad/1on.jpg");
			$(".L1").show();
			$(".L2").hide();
			$(".L3").hide();
			$(".L4").hide();
		}
	); 
  
   $(".one").mouseout(
		function(){
  			//$(".one").attr("src", "1off.jpg");
		}
	); 
   
   $(".one").click(
		function(){
  			self.parent.location = "/approach";
		}
	);
   
     $(".L1").click(
		function(){
  			self.parent.location = "/vhive-voip";
		}
	);
   
// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  
   $(".two").mouseover(
		function(){
			ResetImages();
  			$(".two").attr("src", "/Quad/2on.jpg");
			$(".L1").hide();
			$(".L2").show();
			$(".L3").hide();
			$(".L4").hide();
		}
	); 
  
   $(".two").mouseout(
		function(){
  			//$(".two").attr("src", "2off.jpg");
		}
	);
     
	 $(".two").click(
		function(){
  			self.parent.location = "/approach";
		}
	);
	 
	$(".L2").click(
		function(){
  			self.parent.location = "/dual-electronics";
		}
	);
   
// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

   $(".three").mouseover(
		function(){
			ResetImages();
  			$(".three").attr("src", "/Quad/3on.jpg");
			$(".L1").hide();
			$(".L2").hide();
			$(".L3").show();
			$(".L4").hide();
		}
	); 
  
   $(".three").mouseout(
		function(){
  			//$(".three").attr("src", "3off.jpg");
		}
	);
   
     $(".three").click(
		function(){
  			self.parent.location = "/approach";
		}
	);
	 
	$(".L3").click(
		function(){
  			self.parent.location = "/hmshost";
		}
	);


// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

   $(".four").mouseover(
		function(){
			ResetImages();
  			$(".four").attr("src", "/Quad/4on.jpg");
			$(".L1").hide();
			$(".L2").hide();
			$(".L3").hide();
			$(".L4").show();
		}
	); 
  
   $(".four").mouseout(
		function(){
  			//$(".four").attr("src", "4off.jpg");
		}
	);
   
     $(".four").click(
		function(){
  			self.parent.location = "/approach";
		}
	);
	 
	$(".L4").click(
		function(){
  			self.parent.location = "/contrax-furnishings";
		}
	);

// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
	function ResetImages(){
		$(".one").attr("src", "/Quad/1off.jpg");
		$(".two").attr("src", "/Quad/2off.jpg");
		$(".three").attr("src", "/Quad/3off.jpg");
		$(".four").attr("src", "/Quad/4off.jpg");
	}
						   
 });
