    function enlargefeatured(cPicture){
	   var newwin=open("", "displayWindow","width=400,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes");
   
   with(newwin.document){
	
	 open();
	 write ("<HTML><HEAD><TITLE>D A I R I - Featured Item");
     write ("</TITLE>");
     write("<LINK REL=stylesheet HREF='style1.css' TYPE='text/css'>");
     write ("</HEAD>");
     write ("<BODY BGCOLOR='white'>");     
     write("<body onLoad='setTimeout(&quot;close();&quot;,10000);'>");
     write ("<P ALIGN=CENTER>");
     write ("<FONT FACE='Arial' SIZE='+2' COLOR='black'><B>");
     write ("<img src='images/featured/full/");
	 write (cPicture);
	 write (".jpg'>");
     write ("</B></FONT>");
     write ("</P>");
     write("<div align=center><a href='javascript:close();'><img src='images/close.gif'border=0></a></div>");
     write ("</FORM></CENTER></BODY></HTML>");
     write ("</BODY></HTML>");
     
	 close();
    
	}
	
	
	 }


function MM_reloadPage(init) {  //Updated by PVII. Reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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 flvFSL1(){
if (arguments.length<4){return;}var v1=arguments,v2=v1[0];if (v2==""){return;}var	v3=eval("MM_findObj('"+v2+"')");if (v3==null){return;}var v4=parseInt(v1[1]),v5=parseInt(v1[2]),v6=parseInt(v1[3]);var v7=(v1.length>4)?parseInt(v1[4]):0,v8=(v1.length>5)?parseInt(v1[5]):0;var v9=10,v10=document.layers?v3:v3.style;if (v3.SL2!=null){clearTimeout(v3.SL2);}var v11=isNaN(parseInt(v10.left))?v3.offsetLeft:parseInt(v10.left);var v12=isNaN(parseInt(v10.top))?v3.offsetTop:parseInt(v10.top);if (v8!=0){if (v8==1){v4=v11-v4;v5=v12;}else if (v8==2){v4=v11+v4;v5=v12;}else if (v8==3){v5=v12-v5;v4=v11;}else {v5=v12+v5;v4=v11;}}var v13=v4,v14=v5;if ((v11!=v4)||(v12!=v5)){if (v7>0){v9=v6;var v15=v7,v16=v7,v17=Math.abs(v11-v4),v18=Math.abs(v12-v5);if (v17<v18){v16=(v17!=0)?((v18/v17)*v7):v7;}else {v15=(v18!=0)?((v17/v18)*v7):v7;}if (v15>=v17){v15=Math.min(Math.ceil(v15),v7);}if (v16>=v18){v16=Math.min(Math.ceil(v16),v7);}if ((v11<v4)&&(v11+v15<v4)){v4=v11+v15;}if ((v11>v4)&&(v11-v15>v4)){v4=v11-v15;}if ((v12<v5)&&(v12+v16<v5)){v5=v12+v16;}if ((v12>v5)&&(v12-v16>v5)){v5=v12-v16;}}else {var v17=((v4-v11)/v6),v18=((v5-v12)/v6);v17=(v17>0)?Math.ceil(v17):Math.floor(v17);v4=v11+v17;v18=(v18>0)?Math.ceil(v18):Math.floor(v18);v5=v12+v18;}var v19=((parseInt(navigator.appVersion)>4||navigator.userAgent.indexOf("MSIE")>-1)&&(!window.opera))?"px":"";if (v17!=0){eval("v10.left = '"+v4+v19+"'");}if (v18!=0){eval("v10.top = '"+v5+v19+"'");}var v20="flvFSL1('"+v2+"',"+v13+","+v14+","+v6+","+v7+",0)";v3.SL2=setTimeout(v20,v9);}

window.close();

}

var newTop = null
var currTop = null
var direction = null
function slide() {
	currTop = parseInt(document.getElementById('Layer2').style.top)
	if (document.all) {
		newTop = document.body.scrollTop
	} else {
		newTop = window.pageYOffset
	}
	direction = (newTop > currTop) ? '+' : '-' ;
	slideNow()
}
function slideNow() {
	if (parseInt(document.getElementById('Layer2').style.top) != newTop) {
		document.getElementById('Layer2').style.top = eval ("parseInt(document.getElementById('Layer2').style.top) " + direction + " 1")
		setTimeout("slideNow()", 30)
	}

}



