function getcookie(cookiename) {
	 var cookiestring=""+document.cookie;
	 var index1=cookiestring.indexOf(cookiename);
	 if (index1==-1 || cookiename=="") return ""; 
	 var index2=cookiestring.indexOf(';',index1);
	 if (index2==-1) index2=cookiestring.length; 
	 return unescape(cookiestring.substring(index1+cookiename.length+1,index2))
	 }
	
	 function call()
	 {
	 	if(getcookie('_logid_')!="")
		{
			document.getElementById('login').style.visibility="hidden";
			document.getElementById('login').style.display="none";
			document.getElementById('div_show').style.visibility="visible";	
			document.getElementById('div_show').style.display="block";
		}
	}
	
	

///////////////////////////////// flash starts //////////////////////////////////////

var write1Flash = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"width="200" height="78" id="myFlasher" ALIGN=""><PARAM NAME="movie" VALUE="../images/flash-e.swf"><PARAM NAME="menu" VALUE="false"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent"><EMBED src="../images/flash-e.swf" menu="false" quality="high" wmode="transparent" width="200" height="78" NAME="myFlasher" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>'

function show1Flash () {

    document.write(write1Flash);

}

///////////////////////////////// flash ends //////////////////////////////////////

var write2Flash = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"width="200" height="78" id="myFlasher" ALIGN=""><PARAM NAME="movie" VALUE="images/flash-e.swf"><PARAM NAME="menu" VALUE="false"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent"><EMBED src="images/flash-e.swf" menu="false" quality="high" wmode="transparent" width="200" height="78" NAME="myFlasher" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>'

function show2Flash () {

    document.write(write2Flash);

}