<!--

function renderSWF(swfPath,swfName,swfWidth,swfHeight,swfVersion,swfBGcolor,wmode,moreVars,noflashHTML){
	if (flashversion >= swfVersion) {
		var strPreviouslyViewed;
		var swfViewedCookie = readCookie(swfName + "Viewed");
		if (swfViewedCookie != null){
			strPreviouslyViewed = swfViewedCookie;
		} else {
			createCookie(swfName + "Viewed",1);
		}
		if(!wmode){ wmode = "Opaque" };
		document.write('<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + swfVersion + ',0,0,0" width="' + swfWidth + '" height="' + swfHeight + '" id="flashVideo" align="middle">' +
		'<param name="allowScriptAccess" value="always" />' +
		'<param name="FlashVars" value="imageURL=' + getImageURL() + '&storeURL=' + getStoreURL() + '&platform=' + platform2 + '&viewed=' + strPreviouslyViewed + moreVars +'">' +
		'<param name="movie" value="' + getImageURL() + swfPath + '" />' +
		'<param name="quality" value="high" />' +
		'<param name="bgcolor" value="' + swfBGcolor + '" />' +
		'<param name="wmode" value="' + wmode + '" />' +
		'<embed src="' + getImageURL() + swfPath + '" FlashVars="imageURL=' + getImageURL() + '&storeURL=' + getStoreURL() + '&platform=' + platform2 + '&viewed=' + strPreviouslyViewed + moreVars +'" quality="high" wmode="' + wmode + '" bgcolor="' + swfBGcolor + '" width="' + swfWidth + '" height="' + swfHeight + '" name="flashVideo" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
		'</object></div>');
	} else {
		document.write(noflashHTML);
	}
}

function getURLandCMlink(url,arg1,arg2) {
	var myUrlArray = url.split("[-% Store %-]");
	var store = getStoreURL()+myUrlArray[1];
    cmCreateManualLinkClickTag(store+"?origin="+arg1,arg2);
	//alert("click: "+store);
	window.open(store+"?origin="+arg1,"_self");
}

// Handler for javascript commands from from Flash
function flashVideo_DoFSCommand(command, args) {
	var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
	var flashVideoObj = isInternetExplorer ? document.all.shippingFlash : document.shippingFlash;
	var myArray = args.split(",");
	if (command == "cmCreatePageviewTag") {
	  cmCreatePageviewTag(myArray[0], null, myArray[1]); //(linkName,null,catString)
	} else if (command == "cmCreateManualLinkClickTag") {
	  cmCreateManualLinkClickTag(myArray[0],myArray[1]); //(link path,link name)
	}
}

// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub flashVideo_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call flashVideo_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

 function mediaPlayer(){
   playerwindow = window.open (getStoreURL() + "NBO?tn=music_player&origin=hp",
  "playerwindow","location=0,status=0,scrollbars=0,width=282,height=320");
 } 

-->