	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
	function newin(op){
	AnotherWin = window.open(op,'cool', "width=627,height=500,toolbars=no,resizable=no,scrollbars=yes");
	AnotherWin.focus();
	}

	function back_top()
	{
	        x = document.body.scrollLeft;
	        y = document.body.scrollTop;
	        step = 6;
	
	        while ((x != 0) || (y != 0)) {
	                scroll (x, y);
	                step += (step * step / 300);
	                x -= step;
	                y -= step;
	                if (x < 0) x = 0;
	                if (y < 0) y = 0;
	        } 
	        scroll (0, 0);
	}
	
	function swapimage(photo_obj,photo_src,photo_option){
		document.all[photo_obj+"0"].src = photo_src;
	}
	function myColor(num,color) {
	  if (document.all) {
	    document.all["cell"+num].style.background = color ;
	  }
	}
	function myColorOut(num) {
	  if (document.all) {
	    eval('document.all.cell'+num+'.style.background = ""');
	  }
	}
	
	function resize_it(f_height){
 	 document.all["product_calendar"].style.height=f_height;
	}
	
	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf('?'))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}
	function MM_showHideLayers() { //v6.0
	  var i,p,v,obj,args=MM_showHideLayers.arguments;
	  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
	    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
	    obj.visibility=v; }
	}
	

function resizeHeight(fr) {
	fr = typeof fr == 'string' ? document.getElementById(fr) : fr;
	fr.setExpression('height',product_calendar.document.body.scrollHeight);
}

function swfView(width, height, path, FlashVars){
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ");
	document.write("		codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ");
	document.write("		width='"+width+"' height='"+height+"' align='middle'>");
	document.write("	<param name='allowScriptAccess' value='always' /> ");
	document.write("	<param name='movie'				value='"+path+"' /> ");
	document.write("	<param name='quality'			value='high' /> ");
	document.write("	<param name='wmode'				value='transparent'> ");
	document.write("	<param name='FlashVars'				value='"+FlashVars+"'> ");
	document.write("	<embed src='"+path+"' quality='high' width='"+width+"' height='"+height+"' align='middle' ");
	document.write("		allowScriptAccess='sameDomain' type='application/x-shockwave-flash' ");
	document.write("		pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}


function setPng24(obj) {
	obj.width=obj.height=1;
	obj.className=obj.className.replace(/\bpng24\b/i,'');
	obj.style.filter =
	"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + obj.src + "',sizeingMethod='image');"
	obj.src='';
	return '';
}
