$(document).ready(function(){
	$("#pmt-paypaldp").attr("checked","checked");
	
	if(typeof sIFR == "function"){
		 sIFR.replaceElement(named({sSelector:"#saleheadline", sFlashSrc:"includes/templates/template_morph/flash/coolvetica.swf", sColor:"#ee4537", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));
		 
	    sIFR.replaceElement(named({sSelector:"#tagline", sFlashSrc:"includes/templates/template_morph/flash/coolvetica.swf", sColor:"#ee4537", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=right"}));
		
		sIFR.replaceElement(named({sSelector:".homepage-left h4,  .catIndex h4.left", sFlashSrc:"includes/templates/template_morph/flash/coolvetica.swf", sColor:"#FEBF2E", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));
		
		sIFR.replaceElement(named({sSelector:".homepage-right h4, .catIndex h4.right", sFlashSrc:"includes/templates/template_morph/flash/coolvetica.swf", sColor:"#BBA8D5", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));

	};
	
	$(".productListing-data[align=right]").css({"font-weight":"bold","font-size":"1.2em"});
});

var popUpWin=0;
function openWindow(URLStr, left, top, width, height)
{
  if(popUpWin) {
    if(!popUpWin.closed) {popUpWin.close();}
  }
  popUpWin = open(URLStr, 'popUpWin', 'scrollbars=no,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
  
}

function newWindow(URLStr, left, top, width, height) {
  window.open(URLStr, 'popUpWin', 'scrollbars=no,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
