/* start google autofiil fix */
if(window.attachEvent)
    window.attachEvent("onload",setListeners);

  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  }
/* end google autofiil fix */



/* start jquery pink circle fade */
$(function () {
        if ($.browser.msie && $.browser.version < 7) return;
        
        $('#greencircle')
            .removeClass('highlight')
            .find('a')
            .append('<span class="hover" />').each(function () {
                    var $span = $('> span.hover', this).css('opacity', 0);
                    $(this).hover(function () {
                        // on hover
                        $span.stop().fadeTo(500, 1);
                    }, function () {
                        // off hover
                        $span.stop().fadeTo(500, 0);
                    });
                });
                
    });
/* end jquery pink circle fade */
	
	
	
/* start for making the product menu work for IE 6 */
function startList() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById('prodnav');
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
/* end for making the product menu work for IE 6 */

	
	
/* start of newsletter functions. */
function news(){
	var myForm = document.form1;
	myForm.newsemail.value = 'Email address?';
	}
	
	
	
	
	
/*
validation on blue circle newsletter field.
grips blue circle newsletter field & inputs it into newsletter pop up email field.
*/
function newsCompleteCheck(){
	/* root to 1st newsletter email field */
	var myForm = document.form1;
	/* root to 2cd newsletter pass email field */
	var myForm3 = document.form3;
	var passEmail = myForm.newsemail.value;
	var firstEmailField = myForm.newsemail;
	var foundAtPosition = 0;
	var emailCount = 0;
	
	/* start checks validity on 1st email field */
	if(firstEmailField.value == ""){
		alert('Please enter your email address');
		firstEmailField.focus();
		firstEmailField.select();
		return false;
		}
		else
		{
			while(foundAtPosition != -1){
				foundAtPosition = passEmail.indexOf("@",foundAtPosition);
				
				if(foundAtPosition != -1){
					foundAtPosition++;
					emailCount++;
					}
				}	
		}
		
		if(emailCount == 0){
			alert('Please enter a valid email address');
			firstEmailField.focus();
			firstEmailField.select();
			return false;
			}
	 /* end checks validity on 1st email field */
	 
	 /* populate email address to pop up window email address */
	myForm3.passemail.value = passEmail;
	
	/* populate the other fields */
	myForm3.newsname.value = 'Enter your name';
	myForm3.newspass.value = 'Enter the number of letters in KULU';
	
	
	/* turns visibality on for second phase full screen overlay divs */
	document.getElementById('transDiv').style.visibility = "visible";
	document.getElementById('newbluecircle').style.visibility = "visible";
	
	return false;
	}
	
	
	
function newsFocusCheck(focusfields){
	/* root to 2cd newsletter pass email field */
	var myForm3 = document.form3;
	var myForm4 = document.form4;
	var myForm5 = document.form5;
	var contact = document.contact;
	var comp = document.comp;
	
	switch(focusfields){
		case 1:
			if(myForm3.newsname.value == 'Enter your name'){
				myForm3.newsname.value = '';
				}
			break;

		case 2:
			if(myForm3.newspass.value == 'Enter the number of letters in KULU'){
				myForm3.newspass.value = '';
			}
			break;
			
		case 3:
			if(myForm4.newsname.value == 'Enter your name'){
				myForm4.newsname.value = '';
				}
			break;

		case 4:
			if(myForm4.newspass.value == 'Enter the number of letters in KULU'){
				myForm4.newspass.value = '';
			}
			break;
			
		case 5:
			if(myForm4.passemail.value == 'Enter your email address'){
				myForm4.passemail.value = '';
			}
			break;
			// start checks tell a friend about this product form fields
			
		case 6:
			if(myForm5.yourname.value == 'Enter your name'){
				myForm5.yourname.value = '';
			}
			break;
			
		case 7:
			if(myForm5.youremail.value == 'Enter your email address'){
				myForm5.youremail.value = '';
			}
			break;
			
		case 8:
			if(myForm5.friendname.value == 'Enter your friend\'s name'){
				myForm5.friendname.value = '';
			}
			break;
			
		case 9:
			if(myForm5.friendemail.value == 'Enter your friend\'s email address'){
				myForm5.friendemail.value = '';
			}
			break;
			
		case 10:
			if(myForm5.newspass.value == 'Enter the number of letters in KULU'){
				myForm5.newspass.value = '';
			}
			break;
			
		case 11:
			if(contact.name.value == 'Enter your name'){
				contact.name.value = '';
			}
			break;
			
		case 12:
			if(contact.email.value == 'Enter your email address'){
				contact.email.value = '';
			}
			break;
			
		case 13:
			if(contact.newspass.value == 'Enter the number of letters in KULU'){
				contact.newspass.value = '';
			}
			break;
			
		case 14:
			if(contact.comment.value == 'Comments'){
				contact.comment.value = '';
			}
			break;
			
			
		/* competition validation */	
		case 15:
			if(comp.email.value == 'Email address'){
				comp.email.value = '';
			}
			break;
			
		case 16:
			if(comp.name.value == 'Full Name'){
				comp.name.value = '';
			}
			break;
			
		case 17:
			if(comp.purchase.value == 'Would you like to be able to buy separates'){
				comp.purchase.value = '';
			}
			break;
			
			
		case 18:
			if(comp.cell.value == 'Cell phone no'){
				comp.cell.value = '';	
			}
			break;			
			
		case 19:
			if(comp.comments.value == 'Comments'){
				comp.comments.value = '';	
			}
			break;			
			
		case 20:
			if(comp.friendemail1.value == 'Email Address #1'){
				comp.friendemail1.value = '';	
			}	
			break;								
	
		case 21:
			if(comp.friendemail2.value == 'Email Address #2'){
				comp.friendemail2.value = '';	
			}	
			break;
			
		case 22:
			if(comp.friendemail3.value == 'Email Address #3'){
				comp.friendemail3.value = '';	
			}	
			break;
			
		case 23:
			if(comp.friendemail4.value == 'Email Address #4'){
				comp.friendemail4.value = '';	
			}	
			break;
			
		case 24:
			if(comp.friendemail5.value == 'Email Address #5'){
				comp.friendemail5.value = '';	
			}		
			break;											
			
	}
}

function newsBlurCheck(blurfields){
	
	var myForm3 = document.form3;
	var myForm4 = document.form4;
	var myForm5 = document.form5;
	var contact = document.contact;
	var comp = document.comp;
	
	switch(blurfields){
		case 1:
			if(myForm3.newsname.value == ''){
				myForm3.newsname.value = 'Enter your name';
			}
			break;
			
		case 2:
			if(myForm3.newspass.value == ''){
				myForm3.newspass.value = 'Enter the number of letters in KULU';
			}
			break;
			
		case 3:
			if(myForm4.newsname.value == ''){
				myForm4.newsname.value = 'Enter your name';
			}
			break;
			
		case 4:
			if(myForm4.newspass.value == ''){
				myForm4.newspass.value = 'Enter the number of letters in KULU';
			}
			break;
			
		case 5:
			if(myForm4.passemail.value == ''){
				myForm4.passemail.value = 'Enter your email address';
			}
			break;
			
		// start checks tell a friend about this product form fields	
		case 6:
			if(myForm5.yourname.value == ''){
				myForm5.yourname.value = 'Enter your name';
			}
			break;
			
		case 7:
			if(myForm5.youremail.value == ''){
				myForm5.youremail.value = 'Enter your email address';
			}
			break;
			
		case 8:
			if(myForm5.friendname.value == ''){
				myForm5.friendname.value = 'Enter your friend\'s name';
			}
			break;
			
		case 9:
			if(myForm5.friendemail.value == ''){
				myForm5.friendemail.value = 'Enter your friend\'s email address';
			}
			break;
			
		case 10:
			if(myForm5.newspass.value == ''){
				myForm5.newspass.value = 'Enter the number of letters in KULU';
			}
			break;
			
			
			
		case 11:
			if(contact.name.value == ''){
				contact.name.value = 'Enter your name';
			}
			break;
			
		case 12:
			if(contact.email.value == ''){
				contact.email.value = 'Enter your email address';
			}
			break;
			
		case 13:
			if(contact.newspass.value == ''){
				contact.newspass.value = 'Enter the number of letters in KULU';
			}
			break;
			
		case 14:
			if(contact.comment.value == ''){
				contact.comment.value = 'Comments';
			}
			break;
			
		case 15:
			if(comp.email.value == ''){
				comp.email.value = 'Email address';
			}
			break;
			
		case 16:
			if(comp.name.value == ''){
				comp.name.value = 'Full Name';
			}
			break;
			
		case 17:
			if(comp.purchase.value == ''){
				comp.purchase.value = 'Would you like to be able to buy separates';
			}
			break;
			
		case 18:
			if(comp.cell.value == ''){
				comp.cell.value = 'Cell phone no';
			}
			break;
			
		case 19:
			if(comp.comments.value == ''){
				comp.comments.value = 'Comments';
			}
			break;
			
		case 20:
			if(comp.friendemail1.value == ''){
				comp.friendemail1.value = 'Email Address #1';
			}
			break;	
			
		case 21:
			if(comp.friendemail2.value == ''){
				comp.friendemail2.value = 'Email Address #2';
			}
			break;	
			
		case 22:
			if(comp.friendemail3.value == ''){
				comp.friendemail3.value = 'Email Address #3';
			}
			break;	
			
		case 23:
			if(comp.friendemail4.value == ''){
				comp.friendemail4.value = 'Email Address #4';
			}
			break;	
			
		case 24:
			if(comp.friendemail5.value == ''){
				comp.friendemail5.value = 'Email Address #5';
			}
			break;															
			// end checks tell a friend about this product form fields	
	}
}


function newsFinalCheck(){
	/* root to 2cd newsletter pass email field */
	var myForm3 = document.form3;
	var passEmail = myForm3.passemail.value;
	var firstEmailField = myForm3.passemail;
	var foundAtPosition = 0;
	var emailCount = 0;
	
	
	/* start checks validity on 1st email field */
	if(passEmail == ""){
		alert('Please enter your email address');
		firstEmailField.focus();
		firstEmailField.select();
		return false;
		}
		else
		{
			while(foundAtPosition != -1){
				foundAtPosition = passEmail.indexOf("@",foundAtPosition);
				
				if(foundAtPosition != -1){
					foundAtPosition++;
					emailCount++;
					}
				}	
		}
		
		if(emailCount == 0){
			alert('Please enter a valid email address');
			firstEmailField.focus();
			firstEmailField.select();
			return false;
			}
	 /* end checks validity on 1st email field */
	 
	
	if(myForm3.newsname.value == 'Enter your name'){
		alert('Please enter your name');
		myForm3.newsname.focus();
		myForm3.newsname.select();
		return false;
		}
		
	else if(myForm3.newspass.value != 4){
		alert('Enter the number of letters in KULU');
		myForm3.newspass.focus();
		myForm3.newspass.select();
		return false;
		}
		
	}
	
	
	
	
function productCheck(){
	//window.location.href = 'stockist.php';
	
	//turns visibality on for second phase full screen overlay divs 
	document.getElementById('transDiv').style.visibility = "visible";
	document.getElementById('prodbluecircle').style.visibility = "visible";
	
	return false;
	
	/*var myForm2 = document.form2;
	var myForm4 = document.form4;
	var prodName = myForm2.prodName.value;
	var prodCode = myForm2.prodCode.value;
	var prodSize = myForm2.prodSize.value;
	var prodColor = myForm2.prodColor.value;
	
	if(prodSize == "Choose a size"){
		alert('Please choose a size');
		return false;
		}
	
	if(prodColor == "Choose a color"){
		alert('Please choose a color');
		return false;
		}
	
	
	document.getElementById('prodName').innerHTML = '&nbsp;&nbsp;' + prodName;
	document.getElementById('prodCode').innerHTML = '&nbsp;&nbsp;' + prodCode;
	document.getElementById('prodColor').innerHTML = '&nbsp;&nbsp;' + prodColor;
	document.getElementById('prodSize').innerHTML = '&nbsp;&nbsp;' + prodSize;
	
	myForm4.prodName.value = prodName
	myForm4.prodCode.value = prodCode;
	myForm4.prodSize.value = prodSize;
	myForm4.prodColor.value = prodColor;
	
	
	
	populate the other fields 
	myForm4.passemail.value = 'Enter your email address';
	myForm4.newsname.value = 'Enter your name';
	myForm4.newspass.value = 'Enter the number of letters in KULU';
	
	
	 turns visibality on for second phase full screen overlay divs 
	document.getElementById('transDiv').style.visibility = "visible";
	document.getElementById('prodbluecircle').style.visibility = "visible";
	

	return false;*/
	
	}
	
function prodFinalCheck(){
	/* root to 2cd newsletter pass email field */
	var myForm4 = document.form4;
	var passEmail = myForm4.passemail.value;
	var firstEmailField = myForm4.passemail;
	var foundAtPosition = 0;
	var emailCount = 0;
	
	
	/* start checks validity on 1st email field */
	if(passEmail == ""){
		alert('Please enter your email address');
		firstEmailField.focus();
		firstEmailField.select();
		return false;
		}
		else
		{
			while(foundAtPosition != -1){
				foundAtPosition = passEmail.indexOf("@",foundAtPosition);
				
				if(foundAtPosition != -1){
					foundAtPosition++;
					emailCount++;
					}
				}	
		}
		
		if(emailCount == 0){
			alert('Please enter a valid email address');
			firstEmailField.focus();
			firstEmailField.select();
			return false;
			}
	 /* end checks validity on 1st email field */
	 
	
	if(myForm4.newsname.value == 'Enter your name'){
		alert('Please enter your name');
		myForm4.newsname.focus();
		myForm4.newsname.select();
		return false;
		}
		
	else if(myForm4.newspass.value != 4){
		alert('Enter the number of letters in KULU');
		myForm4.newspass.focus();
		myForm4.newspass.select();
		return false;
		}
		
	}
	
	
function friendFinalCheck(){
	/* root to 2cd newsletter pass email field */
	var myForm5 = document.form5;
	
	var yourname = myForm5.yourname;
	var youremail = myForm5.youremail;
	var friendname = myForm5.friendname;
	var friendemail = myForm5.friendemail;
	var newspass = myForm5.newspass;
	
	var foundAtPosition = 0;
	var emailCount = 0;
	
	var foundAtPositionx = 0;
	var emailCountx = 0;
	
	if(yourname.value == 'Enter your name'){
		alert('Please enter your name');
		yourname.focus();
		yourname.select();
		return false;
		}
		
	/* start checks validity on 1st email field */
	if(youremail.value == 'Enter your email address'){
		alert('Enter your email address');
		youremail.focus();
		youremail.select();
		return false;
		}
		else
		{
			while(foundAtPosition != -1){
				foundAtPosition = youremail.value.indexOf("@",foundAtPosition);
				
				if(foundAtPosition != -1){
					foundAtPosition++;
					emailCount++;
					}
				}	
		}
		
		if(emailCount == 0){
			alert('Enter a valid email address');
			youremail.focus();
			youremail.select();
			return false;
			}
		 
	
	if(friendname.value == 'Enter your friend\'s name'){
		alert('Enter your friend\'s name');
		friendname.focus();
		friendname.select();
		return false;
		}
		
	if(friendemail.value == 'Enter your friend\'s email address'){
		alert('Enter your friend\'s email address');
		friendemail.focus();
		friendemail.select();
		return false;
		}
		else
		{
			while(foundAtPositionx != -1){
				foundAtPositionx = friendemail.value.indexOf("@",foundAtPositionx);
				
				if(foundAtPositionx != -1){
					foundAtPositionx++;
					emailCountx++;
					}
				}	
		}
		
		if(emailCountx == 0){
			alert('Enter a valid email address');
			friendemail.focus();
			friendemail.select();
			return false;
			}
		
	if(newspass.value != 4){
		alert('Enter the number of letters in KULU');
		newspass.focus();
		newspass.select();
		return false;
		}
	
	
	
		
	}
	
	
	



function friendCheck(){
	var myForm5 = document.form5;
	
	/* populate the other fields */
	myForm5.yourname.value = 'Enter your name';
	myForm5.youremail.value = 'Enter your email address';
	myForm5.friendname.value = 'Enter your friend\'s name';
	myForm5.friendemail.value = 'Enter your friend\'s email address';
	myForm5.newspass.value = 'Enter the number of letters in KULU';
	
	
	/* turns visibality on for second phase full screen overlay divs */
	document.getElementById('transDiv').style.visibility = "visible";
	document.getElementById('friendbluecircle').style.visibility = "visible";
	

	return false;
	
	}
	


// check contact form
function contactCheck(){
	/* root to 2cd newsletter pass email field */
	var contact = document.contact;
	var foundAtPosition = 0;
	var emailCount = 0;
	
	if(contact.name.value == 'Enter your name'){
		alert('Please enter your name');
		contact.name.focus();
		contact.name.select();
		return false;
		}
	
	
	/* start checks validity on 1st email field */
	if(contact.email.value == "Enter your email address"){
		alert('Please enter your email address');
		contact.email.focus();
		contact.email.select();
		return false;
		}
		else
		{
			while(foundAtPosition != -1){
				foundAtPosition = contact.email.value.indexOf("@",foundAtPosition);
				
				if(foundAtPosition != -1){
					foundAtPosition++;
					emailCount++;
					}
				}	
		}
		
		if(emailCount == 0){
			alert('Please enter a valid email address');
			contact.email.focus();
			contact.email.select();
			return false;
			}
	 /* end checks validity on 1st email field */
	 
	
		
	if(contact.newspass.value != 4){
		alert('Enter the number of letters in KULU');
		contact.newspass.focus();
		contact.newspass.select();
		return false;
		}
		
	}
	
// check competition form
function compCheck(){
	/* root to 2cd newsletter pass email field */
	var comp = document.comp;
	var foundAtPosition = 0;
	var emailCount = 0;
	
	if(comp.name.value == "Full Name"){
		alert('Enter your Full Name');
		comp.name.focus();
		comp.name.select();
		return false;
		}
		
	if(isNaN(document.comp.cell.value) == true){
			alert('Please enter a valid cell number');
			document.comp.cell.focus();
			document.comp.cell.select();
			return false;
	}
	
	
	/* start checks validity on 1st email field */
	if(comp.email.value == "Enter your email address"){
		alert('Please enter your email address');
		comp.email.focus();
		comp.email.select();
		return false;
		}
	else
	{
		while(foundAtPosition != -1){
			foundAtPosition = comp.email.value.indexOf("@",foundAtPosition);
			
			if(foundAtPosition != -1){
				foundAtPosition++;
				emailCount++;
				}
			}	
	}
		
		if(emailCount == 0){
			alert('Please enter a valid email address');
			comp.email.focus();
			comp.email.select();
			return false;
			}
			
	/* start checks validity on friend email fields */
	/* Friend Email Address #1 Start */
	if(comp.friendemail1.value == "Email Address #1"){
		alert('Please enter a friend\'s email address');
		comp.friendemail1.focus();
		comp.friendemail1.select();
		return false;
		}
	else
	{
		foundAtPosition = 0;
		emailCount = 0;
		while(foundAtPosition != -1){
			foundAtPosition = comp.friendemail1.value.indexOf("@",foundAtPosition);
			
			if(foundAtPosition != -1){
				foundAtPosition++;
				emailCount++;
				}
			}	
	}
	
	if(emailCount == 0){
		alert('Please enter a valid friend\'s email address');
		comp.friendemail1.focus();
		comp.friendemail1.select();
		return false;
	}	
	/* Friend Email Address #1 End */
	
	/* Friend Email Address #2 Start */
	if(comp.friendemail2.value == "Email Address #2"){
		alert('Please enter a friend\'s email address');
		comp.friendemail2.focus();
		comp.friendemail2.select();
		return false;
		}
	else
	{
		foundAtPosition = 0;
		emailCount = 0;
		while(foundAtPosition != -1){
			foundAtPosition = comp.friendemail2.value.indexOf("@",foundAtPosition);
			
			if(foundAtPosition != -1){
				foundAtPosition++;
				emailCount++;
				}
			}	
	}
	
	if(emailCount == 0){
		alert('Please enter a valid friend\'s email address');
		comp.friendemail2.focus();
		comp.friendemail2.select();
		return false;
	}	
	/* Friend Email Address #2 End */	
	
	/* Friend Email Address #3 Start */
	if(comp.friendemail3.value == "Email Address #3"){
		alert('Please enter a friend\'s email address');
		comp.friendemail3.focus();
		comp.friendemail3.select();
		return false;
		}
	else
	{
		foundAtPosition = 0;
		emailCount = 0;
		while(foundAtPosition != -1){
			foundAtPosition = comp.friendemail3.value.indexOf("@",foundAtPosition);
			
			if(foundAtPosition != -1){
				foundAtPosition++;
				emailCount++;
				}
			}	
	}
	
	if(emailCount == 0){
		alert('Please enter a valid friend\'s email address');
		comp.friendemail3.focus();
		comp.friendemail3.select();
		return false;
	}	
	/* Friend Email Address #3 End */	
	
	/* Friend Email Address #4 Start */
	if(comp.friendemail4.value == "Email Address #4"){
		alert('Please enter a friend\'s email address');
		comp.friendemail4.focus();
		comp.friendemail4.select();
		return false;
		}
	else
	{
		foundAtPosition = 0;
		emailCount = 0;
		while(foundAtPosition != -1){
			foundAtPosition = comp.friendemail4.value.indexOf("@",foundAtPosition);
			
			if(foundAtPosition != -1){
				foundAtPosition++;
				emailCount++;
				}
			}	
	}
	
	if(emailCount == 0){
		alert('Please enter a valid friend\'s email address');
		comp.friendemail4.focus();
		comp.friendemail4.select();
		return false;
	}	
	/* Friend Email Address #4 End */	
	
	/* Friend Email Address #5 Start */
	if(comp.friendemail5.value == "Email Address #5"){
		alert('Please enter a friend\'s email address');
		comp.friendemail5.focus();
		comp.friendemail5.select();
		return false;
		}
	else
	{
		foundAtPosition = 0;
		emailCount = 0;
		while(foundAtPosition != -1){
			foundAtPosition = comp.friendemail5.value.indexOf("@",foundAtPosition);
			
			if(foundAtPosition != -1){
				foundAtPosition++;
				emailCount++;
				}
			}	
	}
	
	if(emailCount == 0){
		alert('Please enter a valid friend\'s email address');
		comp.friendemail5.focus();
		comp.friendemail5.select();
		return false;
	}	
	/* Friend Email Address #5 End */			
		
			
		if(comp.color.value == "Favourite Colour"){
			alert('Please choose a colour');
			return false;
			}
			
		if(comp.size.value == "Size"){
			alert('Please choose your size');
			return false;
			}
			
		if(comp.age.value == "Age"){
			alert('Please select your age');
			return false;
			}
			
		if(comp.tops.value == "Tops"){
			alert('Please select which tops you like');
			return false;
			}
			
		if(comp.bottoms.value == "Bottoms"){
			alert('Please select which bottoms you like');
			return false;
			}
		
		if(comp.purchase.value == "Would you like to buy separates?"){
			alert('Would you like to buy separates?');
			return false;
			}
			
		if(comp.info.value == "Receive promotional information on kulu?"){
			alert('Receive promotional information on kulu?');
			return false;
			}
			
	 /* end checks validity on 1st email field */
	 
	
		
	if(comp.size.value == "Size & style preferences"){
		alert('Size & style preferences');
		comp.size.focus();
		comp.size.select();
		return false;
		}
		
	if(comp.purchase.value == "Where purchased"){
		alert('Where purchased');
		comp.purchase.focus();
		comp.purchase.select();
		return false;
		}
		
	if(document.comp.online.value == "Would you buy swimwear online?"){
		alert('Would you buy swimwear online?');
		return false;
		}
		
	}
	
	
	
	
	
	
	
	
	
	
	
/* start of close tell a friend overlay div */	
function closeFriendComplete(){
	document.getElementById('transDiv').style.visibility = "hidden";
	document.getElementById('friendbluecircle').style.visibility = "hidden";
	}
/* end of close tell a friend overlay div */	
	

/* start of close newsletter final overlay div */	
function closeNewsComplete(){
	document.getElementById('transDiv').style.visibility = "hidden";
	document.getElementById('newbluecircle').style.visibility = "hidden";
	}
/* end of close newsletter final overlay div */	

/* start of close newsletter final overlay div */	
function closeProdComplete(){
	document.getElementById('transDiv').style.visibility = "hidden";
	document.getElementById('prodbluecircle').style.visibility = "hidden";
	}
/* end of close newsletter final overlay div */	
/* end newsletter functions */


/* starts top ten & product scrolling */
function init (){
        document.getElementById ('hmenu').onmousemove=autoscroll;
    }
	
	

