function setHeight(to_div, h)
{
	document.getElementById(to_div).style.height = h+"px";
	return true;
}

function showHideDiv(div)
{
	st = document.getElementById(div).style.display;
	if(st == "none"){
		document.getElementById(div).style.display = "block";
	} else {
		document.getElementById(div).style.display = "none";
	}
}

function showDiv(div)
{
 st = document.getElementById(div).style.display;
 if(st == "none")document.getElementById(div).style.display = "block";
 }

function hideDiv(div)
{
 st = document.getElementById(div).style.display;
 if(st == "block")document.getElementById(div).style.display = "none";
 }

function getHeight(div)
{
	var h = document.getElementById(div).offsetHeight;
	return h;
}

function loopMainNews(id)
{
	document.getElementById("article_"+allmain[currentMainIndex]).style.display = "none";
	document.getElementById("article_"+allmain[id]).style.display = "block";
	document.getElementById("lnk_"+allmain[currentMainIndex]).className = "lnkGreyLight";
	document.getElementById("lnk_"+allmain[id]).className = "lnkRedLight";
	currentMainNews = allmain[id];
	currentMainIndex = id;
}

function loopMainNewsNext()
{
	if(currentMainIndex < allmain.length-1){
		loopMainNews(currentMainIndex+1);
	}
	return false;
}

function loopMainNewsPrev()
{
	if(currentMainIndex > 0){
		loopMainNews(currentMainIndex-1);
	}
	return false;
}

function sendEvent(swf,typ,prm) { 
  thisMovie(swf).sendEvent(typ,prm);
};

function thisMovie(swf) {
	if(navigator.appName.indexOf("Microsoft") != -1) {
		return window[swf];
	} else {
		return document[swf];
	}
}

var currentVideoNews = null;
function loadFile(swf,obj,id)
{
	thisMovie(swf).loadFile(obj);
	thisMovie(swf).sendEvent(swf,'playpause');
	document.getElementById("video_news_"+id).className = "allico_play_on";
	if(currentVideoNews != null){
		document.getElementById(currentVideoNews).className = "allico_play_off";
	}
	currentVideoNews = "video_news_"+id; 
	window.location = "#ultimeleStiriVideo";
	sendEvent(swf,'playpause');
}

function loadJurnal(swf,obj,id)
{
	thisMovie(swf).loadFile(obj);
	//thisMovie(swf).sendEvent(swf,'playpause');
	document.getElementById("video_news_"+id).className = "allico_play_on";
	if(currentVideoNews != null){
		document.getElementById(currentVideoNews).className = "allico_play_off";
	}
	currentVideoNews = "video_news_"+id; 
	document.getElementById('jurnal').innerHTML = document.getElementById('j_title_'+id).innerHTML;
	window.location = "#multimediaPlayer";
	sendEvent(swf,'playpause');
}

function bookmarkPage(title,url)
{
	if (window.sidebar) { //Mozilla Firefox
		window.sidebar.addPanel(title, url, "");
	}
	else if( window.external ) { //IE
		window.external.AddFavorite(url, title);
	}
	else if(window.opera && window.print) { //Opera
		CreateBookmarkLink();
	}
}

var zoomCounter = 0;
function zoom()
{
	
	if(zoomCounter == 0){
		document.getElementById('fullArticle').style.fontSize = "16px";
		var linkList = document.getElementById('fullArticle').getElementsByTagName('p');
	    for (i = 0; i < linkList.length; i++) {
	      linkList[i].style.fontSize = "16px";
	    }
	    var linkList = document.getElementById('fullArticle').getElementsByTagName('b');
	    for (i = 0; i < linkList.length; i++) {
	      linkList[i].style.fontSize = "16px";
	    }
	    var linkList = document.getElementById('fullArticle').getElementsByTagName('a');
	    for (i = 0; i < linkList.length; i++) {
	      linkList[i].style.fontSize = "16px";
	    }
		zoomCounter = 1;
	} else {
		document.getElementById('fullArticle').style.fontSize = "12px";
		var linkList = document.getElementById('fullArticle').getElementsByTagName('p');
	    for (i = 0; i < linkList.length; i++) {
	      linkList[i].style.fontSize = "12px";
	    }
	    var linkList = document.getElementById('fullArticle').getElementsByTagName('b');
	    for (i = 0; i < linkList.length; i++) {
	      linkList[i].style.fontSize = "12px";
	    }
	    var linkList = document.getElementById('fullArticle').getElementsByTagName('a');
	    for (i = 0; i < linkList.length; i++) {
	      linkList[i].style.fontSize = "12px";
	    }
		zoomCounter = 0;
	}
}

function submitMiniArhiva()
{
	var ok = 0;
	var zi = document.getElementById('zi').value;
	var ln = document.getElementById('luna').value
	var an = document.getElementById('an').value  
	if(zi == ''){ ok = 1; }
	if(ln == ''){ ok = 1; }
	if(an == ''){ ok = 1; }
	
	if(ok == 0){
		window.location = "http://"+window.location.host+"/"+an+"-"+ln+"-"+zi;
	}
}

function realitateaLive() {
	Tip("<div style='width: 320px; z-index: 99999'><img src='http://85.186.156.227/live/live.jpg?x="+ Math.round(100*Math.random())+"'></div>");
}

function wPop(url, t, w, h)
{
	window.open(url,t,
		'status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=no,'+
		'scrollbars=no,width='+w+',height='+h+',left=20,top=20,location');
	return true;
}


function submitletter ( selectedletter )
{
  document.selectletter.letter.value = selectedletter ;
  document.selectletter.nume.value = document.mainform.nume.value;
  document.selectletter.email.value = document.mainform.email.value;
  document.selectletter.tag.value = document.mainform.tag.value;
  document.selectletter.submit() ;
}

function trimAll(str) {
    return ltrim(rtrim(str, " "), " ");
}

function ltrim(str, chars) {
    chars = chars || "\\s";
    return str.replace(new RegExp("^[" + chars + "]+", "g"), "");
}

function rtrim(str, chars) {
    chars = chars || "\\s";
    return str.replace(new RegExp("[" + chars + "]+$", "g"), "");
}

function submittag ( selectedtag )
{
  var tags = document.mainform.tag.value;
  var brokenstring=tags.split(",");
  var gasit =0;
  for (var i in brokenstring) 
	{
	    if(trimAll(brokenstring[i])==selectedtag)gasit=1;
	}
  
  if(gasit==0)
  {
  	document.mainform.tag.value = tags + selectedtag +", " ;
  }

}

//Chrome Drop Down Menu- Author: Dynamic Drive (http://www.dynamicdrive.com)
var cssdropdown=
{
	disappeardelay: 50, //set delay in miliseconds before menu disappears onmouseout
	disablemenuclick: false, //when user clicks on a menu item with a drop down menu, disable menu item's link?
	enableswipe: 0, //enable swipe effect? 1 for yes, 0 for no
	dropmenuobj: null, ie: document.all, firefox: document.getElementById&&!document.all, swipetimer: undefined, bottomclip:0,
	getposOffset:function(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;
	}
	,
	swipeeffect:function()
	{
		if (this.bottomclip<parseInt(this.dropmenuobj.offsetHeight))
		{
			this.bottomclip+=10+(this.bottomclip/10) //unclip drop down menu visibility gradually
			this.dropmenuobj.style.clip="rect(0 auto "+this.bottomclip+"px 0)"
		}
		else
		return
		this.swipetimer=setTimeout("cssdropdown.swipeeffect()", 10)
	}
	,
	showhide:function(obj, e)
	{
		if (this.ie || this.firefox)
		this.dropmenuobj.style.left=this.dropmenuobj.style.top="-500px"
		if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
		{
			if (this.enableswipe==1)
			{
				if (typeof this.swipetimer!="undefined")
				clearTimeout(this.swipetimer)
				obj.clip="rect(0 auto 0 0)" //hide menu via clipping
				this.bottomclip=0
				this.swipeeffect()
			}
			obj.visibility="visible"
		}
		else if (e.type=="click")
		obj.visibility="hidden"
	}
	,
	iecompattest:function()
	{
		return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
	}
	,
	clearbrowseredge:function(obj, whichedge)
	{
		var edgeoffset=0
		if (whichedge=="rightedge")
		{
			var windowedge=this.ie && !window.opera? this.iecompattest().scrollLeft+this.iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
			this.dropmenuobj.contentmeasure=this.dropmenuobj.offsetWidth
			if (windowedge-this.dropmenuobj.x < this.dropmenuobj.contentmeasure) //move menu to the left?
			edgeoffset=this.dropmenuobj.contentmeasure-obj.offsetWidth
		}
		else
		{
			var topedge=this.ie && !window.opera? this.iecompattest().scrollTop : window.pageYOffset
			var windowedge=this.ie && !window.opera? this.iecompattest().scrollTop+this.iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
			this.dropmenuobj.contentmeasure=this.dropmenuobj.offsetHeight
			if (windowedge-this.dropmenuobj.y < this.dropmenuobj.contentmeasure)
			{
				edgeoffset=this.dropmenuobj.contentmeasure+obj.offsetHeight
				if ((this.dropmenuobj.y-topedge)<this.dropmenuobj.contentmeasure) //up no good either?
				edgeoffset=this.dropmenuobj.y+obj.offsetHeight-topedge
			}
		}
		return edgeoffset
	}
	,
	dropit:function(obj, e, dropmenuID)
	{
		if (this.dropmenuobj!=null) //hide previous menu
		this.dropmenuobj.style.visibility="hidden" //hide menu
		this.clearhidemenu()
		if (this.ie||this.firefox)
		{
			obj.onmouseout=function()
			{
				cssdropdown.delayhidemenu()
			}
			obj.onclick=function()
			{
				return !cssdropdown.disablemenuclick
			}
			this.dropmenuobj=document.getElementById(dropmenuID)
			this.dropmenuobj.onmouseover=function()
			{
				cssdropdown.clearhidemenu()
			}
			this.dropmenuobj.onmouseout=function()
			{
				cssdropdown.dynamichide(e)
			}
			this.dropmenuobj.onclick=function()
			{
				cssdropdown.delayhidemenu()
			}
			this.showhide(this.dropmenuobj.style, e)
			this.dropmenuobj.x=this.getposOffset(obj, "left")
			this.dropmenuobj.y=this.getposOffset(obj, "top")
			this.dropmenuobj.style.left=this.dropmenuobj.x-this.clearbrowseredge(obj, "rightedge")+"px"
			this.dropmenuobj.style.top=this.dropmenuobj.y-this.clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-3+"px"
		}
	}
	,
	contains_firefox:function(a, b)
	{
		while (b.parentNode)
		if ((b = b.parentNode) == a)
		return true;
		return false;
	}
	,
	dynamichide:function(e)
	{
		var evtobj=window.event? window.event : e
		if (this.ie&&!this.dropmenuobj.contains(evtobj.toElement))
		this.delayhidemenu()
		
	// Fixed menu hide
	//	else if (this.firefox&&e.currentTarget!= evtobj.relatedTarget&& !this.contains_firefox(evtobj.currentTarget, evtobj.relatedTarget))
		else if (this.firefox)
		this.delayhidemenu()
	}
	,
	delayhidemenu:function()
	{
		this.delayhide=setTimeout("cssdropdown.dropmenuobj.style.visibility='hidden'",this.disappeardelay) //hide menu
	}
	,
	clearhidemenu:function()
	{
		if (this.delayhide!="undefined")
		clearTimeout(this.delayhide)
	}
	,
	startchrome:function()
	{
		for (var ids=0; ids<arguments.length; ids++)
		{
			var menuitems=document.getElementById(arguments[ids]).getElementsByTagName("a")
			for (var i=0; i<menuitems.length; i++)
			{
				if (menuitems[i].getAttribute("rel"))
				{
					var relvalue=menuitems[i].getAttribute("rel")
					menuitems[i].onmouseover=function(e)
					{
						var event=typeof e!="undefined"? e : window.event
						cssdropdown.dropit(this,event,this.getAttribute("rel"))
					}
				}
			}
		}
	}
}

/* AJAX Star Rating v1.0.2, Programming by Ulyses */
/* Updated February 7th, 2007 */

function $(o) { return((typeof(o)=='object'?o:document).getElementById(o)); }
function $S(o) { return($(o).style); }
function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
function abPos(o) { var o=(typeof(o)=='object'?o:$(o)), z={X:0,Y:0}; while(o!=null) { z.X+=o.offsetLeft; z.Y+=o.offsetTop; o=o.offsetParent; }; return(z); }
function XY(e,v) { var o=agent('msie')?{'X':event.clientX+document.body.scrollLeft,'Y':event.clientY+document.body.scrollTop}:{'X':e.pageX,'Y':e.pageY}; return(v?o[v]:o); }

var star={

    /* Mouse Events */
    
    'cur':function(e,o) { if(star.stop) { star.stop=0;

        document.onmousemove=function(e) { var n=star.num;
        
            var p=abPos($('star'+n)), x=XY(e), oX=x.X-p.X, oY=x.Y-p.Y; star.num=o.id.substr(4);

            if(oX<1 || oX>100 || oY<0 || oY>19) { star.stop=1; star.revert(); }
            
            else {

                $S('starCur'+n).width=oX+'px';
                $S('starUser'+n).color='#111';
                $('starUser'+n).innerHTML=Math.round(oX/100*100)+'';
            }
        };
    } },
    'update':function(e,o) { var n=star.num, v=parseInt($('starUser'+n).innerHTML);
    
        n=o.id.substr(4); $('starCur'+n).title=v;

        //req=new XMLHttpRequest(); req.open('GET','/vote_article.php?vote='+(v/100),false); req.send(null);    

    },
    'revert':function() { var n=star.num, v=parseInt($('starCur'+n).title);
    
        $S('starCur'+n).width=Math.round(v*100/100)+'px';
        $('starUser'+n).innerHTML=(v>0?Math.round(v)+'':'');
        $('starUser'+n).style.color='#888';
        
        document.onmousemove='';

    },

    /* Data */

    'stop':1,
    
    'num':0

};



var crawlLines=new Array();
function pausescroller(content, divId, divClass, delay)
{
	this.content=content //message array content
	this.tickerid=divId //ID of ticker div to display information
	this.delay=delay //Delay between msg change, in miliseconds.
	this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
	this.hiddendivpointer=1 //index of message array for hidden div
	document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
	var scrollerinstance=this
	if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function()
{
	scrollerinstance.initialize()
}
, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function()
{
	scrollerinstance.initialize()
}
)
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function()
{
	scrollerinstance.initialize()
}
, 500)
}
pausescroller.prototype.initialize=function()
{
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function()
{
	scrollerinstance.mouseoverBol=1
}
document.getElementById(this.tickerid).onmouseout=function()
{
	scrollerinstance.mouseoverBol=0
}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function()
{
	scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null
}
)
setTimeout(function()
{
	scrollerinstance.animateup()
}
, this.delay)
}
pausescroller.prototype.animateup=function()
{
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5))
{
	this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
	this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function()
{
	scrollerinstance.animateup()
}
, 10)
}
else
{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function()
{
	scrollerinstance.setmessage()
}
, this.delay)
}
}
pausescroller.prototype.swapdivs=function()
{
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}
pausescroller.prototype.getinline=function(div1, div2)
{
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}
pausescroller.prototype.setmessage=function()
{
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function()
{
	scrollerinstance.setmessage()
}
, 100)
else
{
	var i=this.hiddendivpointer
	var ceiling=this.content.length
	this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
	this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
	this.animateup()
}
}
pausescroller.getCSSpadding=function(tickerobj)
{
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}

/**
 * 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;
