var no_click=0;
function control_viewcart()
{
   no_click= no_click+1;
   if( no_click==1)
   {
  
   }
   
   if( no_click==2)
   {
  
      window.location='http://www.basicsplus.com/viewcart.cfm';
     no_click=0;
   }
}


function hovereffect(id)
	{
		if (id=='header-candles1')
		{
			document.getElementById("header-candles1").style.background='transparent url(/../images/menu_links.gif) 0px -39px no-repeat';
		}
		else if (id=='header-bathroom1')
		{
			document.getElementById("header-bathroom1").style.background='transparent url(/../images/menu_links.gif) -100px -39px no-repeat';
		}
		else if (id=='header-kitchen1')
		{
			document.getElementById("header-kitchen1").style.background='transparent url(/../images/menu_links.gif) -225px -39px no-repeat';
		}
		else if (id=='header-lighting1')
		{
			document.getElementById("header-lighting1").style.background='transparent url(/../images/menu_links.gif) -335px -39px no-repeat';
		}
		else if (id=='header-forhome1')
		{
			document.getElementById("header-forhome1").style.background='transparent url(/../images/menu_links.gif) -445px -39px no-repeat';
		}
		else if (id=='header-security1')
		{
			document.getElementById("header-security1").style.background='transparent url(/../images/menu_links.gif) -595px -39px no-repeat';
		}
		else if (id=='header-cleaning1')
		{
			document.getElementById("header-cleaning1").style.background='transparent url(/../images/menu_links.gif) -710px -39px no-repeat';
		}
		else if (id=='header-clearance1')
		{
			document.getElementById("header-clearance1").style.background='transparent url(/../images/menu_links.gif) -822px -39px no-repeat';
		}
}
function outeffect()
	{
			document.getElementById("header-candles1").style.background='transparent url(/../images/menu_links.gif) 0px 0px no-repeat';
			document.getElementById("header-bathroom1").style.background='transparent url(/../images/menu_links.gif) -100px 0px no-repeat';
			document.getElementById("header-kitchen1").style.background='transparent url(/../images/menu_links.gif) -225px 0px no-repeat';
			document.getElementById("header-lighting1").style.background='transparent url(/../images/menu_links.gif) -335px 0px no-repeat';
			document.getElementById("header-forhome1").style.background='transparent url(/../images/menu_links.gif) -445px 0px no-repeat';
			document.getElementById("header-security1").style.background='transparent url(/../images/menu_links.gif) -595px 0px no-repeat';
			document.getElementById("header-cleaning1").style.background='transparent url(/../images/menu_links.gif) -710px 0px no-repeat';
			document.getElementById("header-clearance1").style.background='transparent url(/../images/menu_links.gif) -822px 0px no-repeat';
	}
	function showlogindropdown()
	{
		document.getElementById("login-dropdown").style.visibility='visible';
	}
	function disappearlogindropdown()
	{
		document.getElementById("login-dropdown").style.visibility='hidden';
	}
	
	
		var j = jQuery.noConflict();
    j(document).ready(function() {
        j('.slideshow').cycle({
           	fx:     'fade',
			prev:	'#left-scroll',
			next:	'#right-scroll',
			pause:  1,
			timeout:  7000

        });
    });


 var j = jQuery.noConflict();
	function slidedivlogin()
		{
	      j(document.getElementById("header-myaccount-container-logout")).show("slide", { direction: "right" }, 7000);
		 
	  	}
		

  var j = jQuery.noConflict();
	function slidedivlogout()
		{
	      j(document.getElementById("header-myaccount-container-logout")).show("slide", { direction: "right" }, 4000);
		  
		  
	  	}
		
		

function hovereff()
{
document.getElementById("right-scroll").style.display='block';
document.getElementById("left-scroll").style.display='block';
}

function outeff()
{
document.getElementById("right-scroll").style.display='none';
document.getElementById("left-scroll").style.display='none';
}


