// JavaScript Document
var strCurrentPage = document.location.href
if (strCurrentPage.substring(0,5) == "https") {
	var SSLOn = true
}
else {
	var SSLOn = 0
}
//alert(strCurrentPage + ' ' + SSLOn + ' ' + SSLTemplate)
if (SSLTemplate) {
	if (!SSLOn) {
     strNewPage = "https" + strCurrentPage.substring(4,strCurrentPage.length)
		//alert(strNewPage)
     window.location.href=strNewPage
	}
}
else {
	if (SSLOn) {
		strNewPage = "http" + strCurrentPage.substring(5,strCurrentPage.length)
		//alert(strNewPage)
		window.location.href=strNewPage
	}
}

//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];}}
//}
//
//MM_preloadImages('images/top3.gif','images/left-end.gif','images/right-end.gif','images/left-end-white.gif','images/right-end-white.gif','images/left-end-white_u.gif', 'images/right-end-white-u.gif', 'images/transparentpixel.gif', 'images/shoppingcart0.gif', 'images/shoppingcart1.gif', 'images/shoppingcart2.gif', 'images/shoppingcart3.gif', 'images/shoppingcart4.gif', 'images/shoppingcart5.gif', 'images/shoppingcart6.gif')
