// PRELOAD IMGsimg1BTM_PD_PDAct = new Image();img1BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324ROWXL2_ina.jpg';img2BTM_PD_PDAct = new Image();img2BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324BPRO_ina.jpg';img3BTM_PD_PDAct = new Image();img3BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324TNT_ina.jpg';img4BTM_PD_PDAct = new Image();img4BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324ROWXLT_ina.jpg';img5BTM_PD_PDAct = new Image();img5BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324SHAMS_ina.jpg';img6BTM_PD_PDAct = new Image();img6BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324ROWCLS_ina.jpg';img7BTM_PD_PDAct = new Image();img7BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324TONY_act.jpg';img8BTM_PD_PDAct = new Image();img8BTM_PD_PDAct.src = 'http://vans.speedera.net/skate.vans.com/img/pd/m/menu/030324/030324CLS_act.jpg';// SWAP IMGsfunction movepic(img_name,img_src) {document[img_name].src=img_src;}// POPUP WINfunction openNewWindow(URLtoOpen,windowName,windowFeatures) {self.name = "product";var newWindow;newWindow=window.open (URLtoOpen, windowName, windowFeatures);newWindow.focus();}	function GP_AdvOpenWindow(thisURL,winName,features,popWidth,popHeight,winAlign,ignorelink,alwaysOnTop,autoCloseTime,borderless) { //v2.0  var basedir = "http://www.heckyes.com/vansmx/";  var theURL = basedir + thisURL;  var leftPos=0,topPos=0,autoCloseTimeoutHandle, ontopIntervalHandle, w = 480, h = 340;    if (popWidth > 0) features += (features.length > 0 ? ',' : '') + 'width=' + popWidth;  if (popHeight > 0) features += (features.length > 0 ? ',' : '') + 'height=' + popHeight;  if (winAlign && winAlign != "" && popWidth > 0 && popHeight > 0) {    if (document.all || document.layers || document.getElementById) {w = screen.availWidth; h = screen.availHeight;}		if (winAlign.indexOf("center") != -1) {topPos = (h-popHeight)/2;leftPos = (w-popWidth)/2;}		if (winAlign.indexOf("bottom") != -1) topPos = h-popHeight; if (winAlign.indexOf("right") != -1) leftPos = w-popWidth; 		if (winAlign.indexOf("left") != -1) leftPos = 0; if (winAlign.indexOf("top") != -1) topPos = 0; 						    features += (features.length > 0 ? ',' : '') + 'top=' + topPos+',left='+leftPos;}  if (document.all && borderless && borderless != "" && features.indexOf("fullscreen") != -1) features+=",fullscreen=1";  if (window["popupWindow"] == null) window["popupWindow"] = new Array();  var wp = popupWindow.length;  popupWindow[wp] = window.open(theURL,winName,features);  if (popupWindow[wp].opener == null) popupWindow[wp].opener = self;    if (document.all || document.layers || document.getElementById) {    if (borderless && borderless != "") {popupWindow[wp].resizeTo(popWidth,popHeight); popupWindow[wp].moveTo(leftPos, topPos);}    if (alwaysOnTop && alwaysOnTop != "") {    	ontopIntervalHandle = popupWindow[wp].setInterval("window.focus();", 50);    	popupWindow[wp].document.body.onload = function() {window.setInterval("window.focus();", 50);}; }    if (autoCloseTime && autoCloseTime > 0) {    	popupWindow[wp].document.body.onbeforeunload = function() {  			if (autoCloseTimeoutHandle) window.clearInterval(autoCloseTimeoutHandle);    		window.onbeforeunload = null;	}     		autoCloseTimeoutHandle = window.setTimeout("popupWindow["+wp+"].close()", autoCloseTime * 1000); }  	window.onbeforeunload = function() {for (var i=0;i<popupWindow.length;i++) popupWindow[i].close();}; }     document.MM_returnValue = (ignorelink && ignorelink != "") ? false : true;}