
// loader.js
/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var offsetfrommouse=[15,185]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0; //duration in seconds image should remain visible. 0 for always.

var defaultimageheight = 40;	// maximum image size.
var defaultimagewidth = 40;	// maximum image size.

var timer;

function gettrailobj(){
if (document.getElementById)
return document.getElementById("preview_div").style
}

function gettrailobjnostyle(){
if (document.getElementById)
return document.getElementById("preview_div")
}


function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


function hidetrail(){	
	gettrailobj().display= "none";
	document.onmousemove=""
	gettrailobj().left="-500px"
	clearTimeout(timer);
}

function showtrail(imagename,title,width,height){
	i = imagename
	t = title
	w = width
	h = height
	timer = setTimeout("show('"+i+"',t,w,h);",200);
}
function show(imagename,title,width,height){
 
    var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth - offsetfrommouse[0]
	var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight)

	if( (navigator.userAgent.indexOf("Konqueror")==-1  || navigator.userAgent.indexOf("Firefox")!=-1 || (navigator.userAgent.indexOf("Opera")==-1 && navigator.appVersion.indexOf("MSIE")!=-1)) && (docwidth>650 && docheight>500)) {
		( width == 0 ) ? width = defaultimagewidth: '';
		( height == 0 ) ? height = defaultimageheight: '';
			
		width+=30
		height+=55
		defaultimageheight = height
		defaultimagewidth = width
	
		document.onmousemove=followmouse; 

		
		newHTML = '<div class="border_preview" style="width:'+  width +'px;height:'+ height +'px"><div id="loader_container"><div id="loader"><div align="center">Loading template preview...</div><div id="loader_bg"><div id="progress"> </div></div></div></div>';
		
		
    	newHTML = newHTML + '<div class="preview_temp_load"><img onload="javascript:remove_loading();" src="' + imagename + '" border="0"></div>';
		newHTML = newHTML + '</div>'; 
		
		if(navigator.userAgent.indexOf("MSIE")!=-1 && navigator.userAgent.indexOf("Opera")==-1 ){
			newHTML = newHTML+'<iframe src="about:blank" scrolling="no" frameborder="0" width="'+width+'" height="'+height+'"></iframe>';
		}		

		gettrailobjnostyle().innerHTML = newHTML;
		gettrailobj().display="block";
	}
}

function followmouse(e){

	var xcoord=offsetfrommouse[0]
	var ycoord=offsetfrommouse[1]

	var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
	var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight)

	if (typeof e != "undefined"){
		if (docwidth - e.pageX < defaultimagewidth + 2*offsetfrommouse[0]){
			xcoord = e.pageX - xcoord - defaultimagewidth; // Move to the left side of the cursor
		} else {
			xcoord += e.pageX;
		}
		if (docheight - e.pageY < defaultimageheight + 2*offsetfrommouse[1]){
			ycoord += e.pageY - Math.max(0,(2*offsetfrommouse[1] + defaultimageheight + e.pageY - docheight - truebody().scrollTop));
		} else {
			ycoord += e.pageY;
		}

	} else if (typeof window.event != "undefined"){
		if (docwidth - event.clientX < defaultimagewidth + 2*offsetfrommouse[0]){
			xcoord = event.clientX + truebody().scrollLeft - xcoord - defaultimagewidth; // Move to the left side of the cursor
		} else {
			xcoord += truebody().scrollLeft+event.clientX
		}
		if (docheight - event.clientY < (defaultimageheight + 2*offsetfrommouse[1])){
			ycoord += event.clientY + truebody().scrollTop - Math.max(0,(2*offsetfrommouse[1] + defaultimageheight + event.clientY - docheight));
		} else {
			ycoord += truebody().scrollTop + event.clientY;
		}
	}
	gettrailobj().left=xcoord+"px"
	gettrailobj().top=ycoord+"px"

}


// nevnap.js
function initArray() {  
  this.length = initArray.arguments.length  
  for (var i = 0; i < this.length; i++)  
  this[i+1] = initArray.arguments[i]  
}  
  
/*  Hónap névnapjainak meghatározása */  
function havinev(ev,ho,nap) {  
if (ho==1)  
  { var napok = new initArray("ÚJÉV","Ábel","Benjámin", 
        "Titusz","Simon","Boldizsár","Attila, Ramóna","Gyöngyvér","Marcell",  
        "Melánia","Ágota","Ernő","Veronika","Bódog","Lóránt",  
        "Gusztáv","Antal","Piroska","Sára, Márió","Fábián",  
        "Ágnes","Vince","Rajmund","Timót","Pál","Vanda",  
        "Angelika","Károly,","Adél","Martina","Marcella","") }  
if (ho==2)  
  if ((ev!=2000) && (ev!=2004) && ev!=1996)  
    { var napok=new initArray("Ignác","Karolina","Balázs","Ráhel", 
        "Ágota","Dorottya","Tódor","Aranka","Abigél","Elvira",  
        "Marietta","Lívia","Ella","Valentin",  
        "Kolos","Julianna","Donát","Bernadett","Zsuzsanna",  
        "Aladár","Eleonóra","Gerzson","Alfréd",  
        "Mátyás","Géza","Edina","Ákos, Bátor","Elemér","","")  }  
     else  
    { var napok=new initArray("Ignác","Karolina","Balázs","Ráhel", 
        "Ágota","Dorottya","Rómeó","Aranka","Abigél","Elvira",  
        "Marietta","Lívia","Ella","Valentin",  
        "Kolos","Julianna","Donát","Bernadett","Zsuzsanna",  
        "Aladár","Eleonóra","Gerzson","Alfréd",  
        "Szőkőnap","Mátyás","Géza","Edina","Ákos, Bátor","Elemér","","") }  
if (ho==3)  
  { var napok=new initArray("Albin","Lujza","Kornélia","Kázmér","Adorján", 
        "Leonóra","Tamás","Zoltán","Franciska","Ildikó", 
        "Szilárd","Gergely","Krisztián","Matild","Kristóf",  
        "Henrietta","Gertrúd","Sándor","József","Klaudia",  
        "Benedek","Beáta","Emőke","Gábor","Irén",  
        "Emánuel","Hajnalka","Gedeon","Auguszta","Zalán","Árpád","" ) }  
if (ho==4)  
  { var napok=new initArray("Hugó","Áron","Richárd","Izidor","Vince", 
        "Vilmos","Herman","Dénes","Erhard","Zsolt","Leó","Gyula", 
        "Ida","Tibor","Anasztázia","Csongor","Rudolf","Andrea","Emma",  
        "Tivadar","Konrád","Csilla","Béla","György","Márk","Ervin",  
        "Zita","Valéria","Péter","Katalin, Kitti","" )}  
if (ho==5)  
  { var napok=new initArray("Fülöp","Zsigmond","Tímea", 
        "Mónika","Györgyi","Ivett","Gizella","Mihály","Gergely", 
        "Ármin","Ferenc","Pongrác","Szervác","Bonifác","Zsófia",  
        "Mózes","Paszkál","Erik","Ivó, Milán",  
        "Bernát","Konstantin","Júlia, Rita","Dezső","Eszter",  
        "Orbán","Fülöp","Hella","Emil","Magdolna",  
        "Zsanett","Angéla","" )}  
if (ho==6)  
  { var napok=new initArray("Tünde","Anita","Klotild","Bulcsú","Fatime", 
        "Norbert","Róbert","Medárd","Félix","Margit","Barnabás", 
        "Villő","Antal","Vazul","Jolán","Jusztin","Laura",  
        "Levente","Gyárfás","Rafael","Alajos","Paulina",  
        "Zoltán","Iván","Vilmos","János","László","Levente",  
        "Péter, Pál","Pál","" ) }  
if (ho==7)  
  { var napok=new initArray("Tihamér","Ottó","Kornél","Ulrik", 
        "Sarolta","Csaba","Appolónia","Ellák","Lukrécia","Amália",  
        "Nóra","Izabella","Jenő","Őrs","Henrik","Valter",  
        "Endre","Frigyes","Emília","Illés","Dániel",  
        "Magdolna","Lenke","Kinga, Kincső","Kristóf, Jakab","Anna, Anikó",  
        "Olga","Szabolcs","Márta","Judit","Oszkár","" )}  
if (ho==8)  
  { var napok=new initArray("Boglárka","Lehel","Hermina","Domonkos", 
        "Krisztina","Berta","Ibolya","László","Emőd","Lörinc",  
        "Zsuzsanna","Klára","Ipoly","Marcell","Mária","Ábrahám",  
        "Jácint","Ilona","Huba","István","Sámuel",  
        "Menyhért","Bence","Bertalan","Lajos","Izsó",  
        "Gáspár","Ágoston","Beatrix","Rózsa","Erika") }  
if (ho==9)  
  { var napok= new initArray("Egon","Rebeka","Hilda","Rozália", 
        "Viktor","Zakariás","Regina","Mária","Ádám","Nikolett",  
        "Teodóra","Mária","Kornél","Szeréna","Enikő","Edit",  
        "Zsófia","Diána","Vilhelmina","Friderika","Máté,","Móric",  
        "Tekla","Gellért","Eufrozina","Jusztina","Adalbert",  
        "Vencel","Mihály","Jeromos","" )}  
if (ho==10)  
  { var napok= new initArray("Malvin","Petra","Helga","Ferenc","Aurél","Renáta", 
       "Amália","Koppány","Dénes","Gedeon","Brigitta","Miksa","Kálmán","Helén",  
        "Teréz","Gál","Hedvig","Lukács","Nándor","Vendel","Orsolya","Előd",  
        "Gyöngyi","Salamon","Bianka","Dömötör",  
        "Szabina","Simon","Nárcisz","Alfonz","Farkas","" )}  
if (ho==11)  
  { var napok=new initArray("Marianna","Achilles","Győző","Károly","Imre","Lénárd", 
        "Rezső","Zsombor","Tivadar","Réka","Márton","Jónás, Renátó","Szilvia",  
        "Aliz","Albert, Lipót","Ödön","Hortenzia, Gergő","Jenő","Erzsébet",  
        "Jolán","Olivér","Cecília","Kelemen, Klementina","Emma","Katalin",  
        "Virág","Virgil","Stefánia","Taksony","András, Andor","" )}  
if (ho==12)  
  { var napok=new initArray("Elza","Melinda","Ferenc","Barbara", 
        "Vilma","Miklós","Ambrus","Mária","Natália","Judit","Árpád","Gabriella",  
        "Luca","Szilárda","Valér","Etelka","Lázár",  
        "Auguszta","Viola","Teofil","Tamás","Zéno","Viktória","Ádám, Éva",  
        "KARÁCSONY","KARÁCSONY","János","Kamilla",  
        "Tamás","Dávid","Szilveszter","") }  
   return napok[nap];  
}  
  
/* Hónap neve */  
function honev(ho) {  
   var month = new initArray("Január","Február","Március","Április","Május",  
   "Junius","Július","Augusztus","Szeptember","Október","November","December");  
   return month[ho]  
   }  
  
/* Nap neve */  
function napnev(szam) {  
   var napok = new initArray("Vasárnap","Hétfő","Kedd","Szerda","Csütörtök", 
                             "Péntek","Szombat","Vasárnap")  
   return napok[szam]  
   }  
  
  var ido = new Date()  
  var ev = ido.getYear()  
  var ho = ido.getMonth()+1  
  var nap = ido.getDate()  
  if (ev<1900) ev+=1900;

  
  
  
  
  
// preview.js
/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var offsetfrommouse=[15,185]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0; //duration in seconds image should remain visible. 0 for always.

var defaultimageheight = 40;	// maximum image size.
var defaultimagewidth = 40;	// maximum image size.

var timer;

function gettrailobj(){
if (document.getElementById)
return document.getElementById("preview_div").style
}

function gettrailobjnostyle(){
if (document.getElementById)
return document.getElementById("preview_div")
}


function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


function hidetrail(){	
	gettrailobj().display= "none";
	document.onmousemove=""
	gettrailobj().left="-500px"
	clearTimeout(timer);
}

function showtrail(imagename,title,width,height){
	i = imagename
	t = title
	w = width
	h = height
	timer = setTimeout("show('"+i+"',t,w,h);",200);
}
function show(imagename,title,width,height){
 
    var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth - offsetfrommouse[0]
	var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight)

	if( (navigator.userAgent.indexOf("Konqueror")==-1  || navigator.userAgent.indexOf("Firefox")!=-1 || (navigator.userAgent.indexOf("Opera")==-1 && navigator.appVersion.indexOf("MSIE")!=-1)) && (docwidth>650 && docheight>500)) {
		( width == 0 ) ? width = defaultimagewidth: '';
		( height == 0 ) ? height = defaultimageheight: '';
			
		width+=30
		height+=55
		defaultimageheight = height
		defaultimagewidth = width
	
		document.onmousemove=followmouse; 

		
		newHTML = '<div class="border_preview" style="width:'+  width +'px;height:'+ height +'px"><div id="loader_container"><div id="loader"><div align="center">Loading template preview...</div><div id="loader_bg"><div id="progress"> </div></div></div></div>';
		
		
    	newHTML = newHTML + '<div class="preview_temp_load"><img onload="javascript:remove_loading();" src="' + imagename + '" border="0"></div>';
		newHTML = newHTML + '</div>'; 
		
		if(navigator.userAgent.indexOf("MSIE")!=-1 && navigator.userAgent.indexOf("Opera")==-1 ){
			newHTML = newHTML+'<iframe src="about:blank" scrolling="no" frameborder="0" width="'+width+'" height="'+height+'"></iframe>';
		}		

		gettrailobjnostyle().innerHTML = newHTML;
		gettrailobj().display="block";
	}
}

function followmouse(e){

	var xcoord=offsetfrommouse[0]
	var ycoord=offsetfrommouse[1]

	var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
	var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight)

	if (typeof e != "undefined"){
		if (docwidth - e.pageX < defaultimagewidth + 2*offsetfrommouse[0]){
			xcoord = e.pageX - xcoord - defaultimagewidth; // Move to the left side of the cursor
		} else {
			xcoord += e.pageX;
		}
		if (docheight - e.pageY < defaultimageheight + 2*offsetfrommouse[1]){
			ycoord += e.pageY - Math.max(0,(2*offsetfrommouse[1] + defaultimageheight + e.pageY - docheight - truebody().scrollTop));
		} else {
			ycoord += e.pageY;
		}

	} else if (typeof window.event != "undefined"){
		if (docwidth - event.clientX < defaultimagewidth + 2*offsetfrommouse[0]){
			xcoord = event.clientX + truebody().scrollLeft - xcoord - defaultimagewidth; // Move to the left side of the cursor
		} else {
			xcoord += truebody().scrollLeft+event.clientX
		}
		if (docheight - event.clientY < (defaultimageheight + 2*offsetfrommouse[1])){
			ycoord += event.clientY + truebody().scrollTop - Math.max(0,(2*offsetfrommouse[1] + defaultimageheight + event.clientY - docheight));
		} else {
			ycoord += truebody().scrollTop + event.clientY;
		}
	}
	gettrailobj().left=xcoord+"px"
	gettrailobj().top=ycoord+"px"

}






// JavaScript Document
var searchInUse = false;

function SearchBox_GetFocus(searchField)
{
	okBtn = document.getElementById("SearchOk");
	okBtn.className = "search_ok_focus";
	if (!searchInUse)
	{
		searchField.value = "";
		searchInUse = true;
	}
}

function SearchBox_LostFocus(searchField)
{
	okBtn = document.getElementById("SearchOk");
	okBtn.className = "search_ok";
	if (searchField.value == "")
	{
		searchField.value = "keresés...";
		searchInUse = false;
	}
	
}







// JavaScript Document
var nameInUse = false;
var pwdInUse = false;

function LoginField_GetFocus(loginField, fieldType)
{
	if ( fieldType == "name" )
	{
		if (!nameInUse)
		{
			loginField.value = "";
			nameInUse = true;
		}
	}
	else if ( fieldType == "pwd" )
	{
		if (!pwdInUse)
		{
			loginField.value = "";
			pwdInUse = true;
		}
	}
}

function LoginField_LostFocus(loginField, fieldType)
{
	if ( fieldType == "name" )
	{
		if (loginField.value == "" )
		{
			loginField.value = "azonosító..";
			nameInUse = false;
		}
	}
	else if ( fieldType == "pwd" )
	{
		if (loginField.value == "" )
		{
			loginField.value = "jelszó..";
			pwdInUse = false;
		}
	}
}

function Button_RollOver(currentButton, buttonType)
{
	if ( buttonType == "submit" )
	{
		currentButton.className = "button submit_over" ;
	}
	else if ( buttonType == "reg" )
	{
		currentButton.className = "button reg_over" ;
	}
}
function Button_RollOut(currentButton, buttonType)
{
	if ( buttonType == "submit" )
	{
		currentButton.className = "button submit" ;
	}
	else if ( buttonType == "reg" )
	{
		currentButton.className = "button reg" ;
	}
}



/***********************************************
* Show Hint script- C Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
		
var horizontal_offset="9px" //horizontal offset of hint box from anchor link

/////No further editting needed

var vertical_offset="0" //horizontal offset of hint box from anchor link. No need to change.
var ie=document.all
var ns6=document.getElementById&&!document.all

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1
if (whichedge=="rightedge"){
var windowedge=ie && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-30 : window.pageXOffset+window.innerWidth-40
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)
}
else{
var windowedge=ie && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
}
return edgeoffset
}

function showhint(menucontents, obj, e, tipwidth){
if ((ie||ns6) && document.getElementById("hintbox")){
dropmenuobj=document.getElementById("hintbox")
dropmenuobj.innerHTML=menucontents
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (tipwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=tipwidth
}
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
dropmenuobj.style.visibility="visible"
obj.onmouseout=hidetip
}
}

function hidetip(e){
dropmenuobj.style.visibility="hidden"
dropmenuobj.style.left="-500px"
}

function createhintbox(){
var divblock=document.createElement("div")
divblock.setAttribute("id", "hintbox")
document.body.appendChild(divblock)
}

if (window.addEventListener)
window.addEventListener("load", createhintbox, false)
else if (window.attachEvent)
window.attachEvent("onload", createhintbox)
else if (document.getElementById)
window.onload=createhintbox



/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

