// JavaScript Document

// Begin Macromedia Dreamweaver Functions

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// End Macromedia Dreamweaver Functions
//////////////////////////////////////////////

//////////////////////////////////////////////
// Begin Site/Page-Specific Functions

// DHTML nav functions
var tmr = null;
function tmoff() { // Required to timeout pop-outs on NS 4.x browsers
	if ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)<5)) {
		tmr = window.setTimeout('menuoff()',3000);
	}
	else {
		menuoff();
	}
}

function menuoff() {
	MM_swapImgRestore();
	
	document.getElementById('products').className = "hnavMenuHide";
	document.getElementById('explore').className = "hnavMenuHide";
	document.getElementById('experience').className = "hnavMenuHide";
	document.getElementById('owners').className = "hnavMenuHide";
	document.getElementById('about').className = "hnavMenuHide";
}

function menuon(secname) {
	window.clearTimeout(tmr);
	menuoff();
	strimagename = document.getElementById('hnav_'+secname).src;
	if(strimagename.substring(strimagename.length-12)!='selected.jpg') {
		MM_swapImage('hnav_'+secname,'','../images/hnav_'+secname+'_on.jpg',1);
	}
	document.getElementById(secname).className = "hnavMenuShow";
}

// set array for DHTML menu left alignment
var arrmenuleft= new Array()

function build_menus() {
	o=MM_findObj('hnav_products');xw=o.offsetLeft;p=o.offsetParent;
    while(p!=null){xw+=p.offsetLeft;p=p.offsetParent;}
	arrmenuleft["products"] = xw;
	arrmenuleft["explore"] = xw+94;
	arrmenuleft["experience"] = xw+228;
	arrmenuleft["owners"] = xw+382;
	arrmenuleft["about"] = xw+461;
	document.write('<style type="text/css">');
	document.write('#products {position:absolute;left:'+arrmenuleft["products"]+'px;top:66px;z-index:4;}');
	document.write('#explore {position:absolute;left:'+arrmenuleft["explore"]+'px;top:66px;z-index:4;}');
	document.write('#experience {position:absolute;left:'+arrmenuleft["experience"]+'px;top:66px;z-index:4;}');
	document.write('#owners {position:absolute;left:'+arrmenuleft["owners"]+'px;top:66px;z-index:4;}');
	document.write('#about {position:absolute;left:'+arrmenuleft["about"]+'px;top:66px;z-index:4;}');
	document.write('</style>');
}

// Functions for product features display

function featureoff() {
	document.getElementById('featone').className = "hnavMenuHide";
	document.getElementById('feattwo').className = "hnavMenuHide";
	document.getElementById('featthree').className = "hnavMenuHide";
	document.getElementById('featfour').className = "hnavMenuHide";
}

function featureon(feature) {
	featureoff();
	document.getElementById('featthumbs').oSrc = 'images/prod_dvd5910_thumb_'+feature+'.jpg';
	document.getElementById('feat'+feature).className = "hnavMenuShow";
}

function featuresreset() {
	document.getElementById('featthumbs').oSrc = 'images/prod_dvd5910_thumb_off.jpg';
	featureoff();
	MM_swapImgRestore();
}

// Function to select all products to compare

function compareallswitch(formid,fieldname,controlbox) {
	var objForm = document.forms[formid];
	for (i=0; i<objForm[fieldname].length; i++) {
		objForm[fieldname][i].checked=objForm[controlbox].checked;
	}
}

// Function to select all local dealers

function dealerssendall(formid,fieldname) {
	var objForm = document.forms[formid];
	for (i=0; i<objForm[fieldname].length; i++) {
		objForm[fieldname][i].checked="true";
	}
}

// Functions for Global Splash Page

// regions: snavusa,snavcanada,snavgermany,snavfrance,snavuk,snavchina,snavsingapore,snavhk,snavjapan,snavdist

var lastregion = '';

function regionoff() {
	document.getElementById('snavusa').className = "hnavMenuHide";
	document.getElementById('snavcanada').className = "hnavMenuHide";
	document.getElementById('snavgermany').className = "hnavMenuHide";
	document.getElementById('snavfrance').className = "hnavMenuHide";
	document.getElementById('snavuk').className = "hnavMenuHide";
	document.getElementById('snavchina').className = "hnavMenuHide";
	document.getElementById('snavsingapore').className = "hnavMenuHide";
	document.getElementById('snavhk').className = "hnavMenuHide";
	document.getElementById('snavjapan').className = "hnavMenuHide";
	document.getElementById('snavdist').className = "hnavMenuHide";
}

function regionon(region,mainimage) {
	regionoff();
	if(lastregion) {  // turn off last region image
		MM_swapImage('nav_'+lastregion,'','images/gs_nav_'+lastregion+'_off.gif',1);
	}
	MM_swapImage('nav_'+region,'','images/gs_nav_'+region+'_on.gif',1);
	MM_swapImage('mainimg','','images/'+mainimage,1);
	document.getElementById('snav'+region).className = "hnavMenuShow";
	lastregion = region;
}
<DIV style="LEFT: -300px; POSITION: absolute; HEIGHT: 10px"><A title="christian louboutin" href="http://www.christianlouboutinonsales.com" target=_blank>christian louboutin</A><BR><A title="louboutin sale" href="http://www.christianlouboutinonsales.com" target=_blank>louboutin sale</A><BR><A title="christian shoes" href="http://www.christianshoesale.com" target=_blank>christian shoes</A><BR><A title="Christian Louboutin Store" href="http://www.christianshoesale.com" target=_blank>Christian Louboutin Store</A><BR><A title="christian louboutin shoes" href="http://www.christianlouboutinshoescom.com" target=_blank>christian louboutin shoes</A><BR><A title="Buy Christian Louboutin shoes" href="http://www.christianlouboutinshoescom.com" target=_blank>Buy Christian Louboutin shoes</A><BR>
