

function autoBlur(){
  if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
  document.body.focus();
}
  document.onfocusin=autoBlur;


function addfavorites(favoriteurl, favoritetitle){
 if (document.all)
 window.external.AddFavorite(favoriteurl,favoritetitle)

}

function showFlash(source,id,width,height,wmode, otherParam)
{
	var strTmp = "";
	strTmp += "<object ";
	strTmp += " classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"";
	strTmp += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\"";
	strTmp += " width="+width + " height="+height + " id="+id+">";
	strTmp += " <param name=wmode value="+wmode+" />";
	strTmp += " <param name=movie value="+source+" />";
	strTmp += " <param name=quality value=high />"
	strTmp += otherParam;
	strTmp += " <embed src="+source+" quality=high wmode="+wmode;
	strTmp += " menu=false type=\"application/x-shockwave-flash\""
	strTmp += " pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\""
	strTmp += " width="+width+" height="+height+"></embed></object>";
	document.write(strTmp);
}

function showSecret()
{
	var strTemp = "";
	strTemp = "<img class=\"zbxe_widget_output\"";
	strTemp += " mid=\""+current_mid+"\"";	
	strTemp += " list_count=\"30\"";
	strTemp += " colorset=\"blue\"";
	strTemp += " skin=\"cozy_simple\"";
	strTemp += " widget=\"tag_list\"";
	strTemp += " />";
	
	
	document.write(strTemp);
	document.write("<center>");
	showFlash('/lovedays.swf', 'love', '400', '30', 'transparent', '<PARAM name="menu" value="false">');
	document.write("</center>");
}
