var windowProtocol = window.location.protocol;
if(windowProtocol == "http:"){
	sitePath = 'http://www.nextdaytechs.com/'; //site path
	
}else{
	sitePath = 'https://www.nextdaytechs.com/'; //site path
}

/**********************Start Code For sIFR***********************************/
//<![CDATA[
/* Replacement calls. Please see documentation for more information. */
if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
	/*sIFR.replaceElement(named({sSelector:"body h1", sFlashSrc:"resources/swf/tradegothic.swf", sColor:"#000000", sLinkColor:"#000000", sBgColor:"#ffffff", sWmode:"transparent", sHoverColor:"#CCCCCC", nPaddingTop:20, nPaddingBottom:20, sFlashVars:"textalign=center&offsetTop=6"}));*/
	// This is the older, ordered syntax
	//sIFR.replaceElement("h3", sitePath+"resources/swf/tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0, null);

	sIFR.replaceElement(named({sSelector:"h3", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#3f4446" ,sLinkColor:"#000000", sHoverColor:"#709300", sWmode:"transparent"}));
	
	sIFR.replaceElement(named({sSelector:".footer_title", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#222b04" ,sLinkColor:"#000000", sHoverColor:"#CCCCCC", sWmode:"transparent", sFlashVars:"underline=true"}));
	
	//sIFR.replaceElement(named({sSelector:" .nav_li", sFlashSrc:sitePath+"resources/swf/tradegothic.swf",sColor:"#ffffff" ,sLinkColor:"#ffffff", sHoverColor:"#CCCCCC", sWmode:"transparent", sFlashVars:"textalign=left"}));
	
	//sIFR.replaceElement(named({sSelector:" #navMidRight li", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#ffffff" ,sLinkColor:"#ffffff", sHoverColor:"#CCCCCC", sWmode:"transparent", sFlashVars:"textalign=center"}));
	
	sIFR.replaceElement(named({sSelector:" #contactinfo", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#3f4446" ,sLinkColor:"#000000", sHoverColor:"#CCCCCC", sWmode:"transparent", sFlashVars:"underline=true"}));
	//sIFR.replaceElement(named({sSelector:" .product_d_name", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#3c3c3c" ,sLinkColor:"#000000", sHoverColor:"#709300", sWmode:"transparent", sFlashVars:"underline=true"}));
	sIFR.replaceElement(named({sSelector:" .product_d_price", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#da282e" ,sLinkColor:"#000000", sHoverColor:"#CCCCCC", sWmode:"transparent", sFlashVars:"underline=true"}));
	sIFR.replaceElement(named({sSelector:" .norecordtxt", sFlashSrc:sitePath+"resources/swf/tradegothic.swf", sColor:"#3c3c3c" , sWmode:"transparent"}));
	
}
//]]>

/**********************End Code For sIFR***********************************/

/**********************Start Code For lightbox***********************************/
jQuery(document).ready(function(){
	jQuery('a[rel*=facebox]').facebox();	
});
/**********************End Code For lightbox***********************************/


