/*
var swfversion = deconcept.SWFObjectUtil.getPlayerVersion();
var noflash = deconcept.util.getRequestParameter("noflash");
var flash = deconcept.util.getRequestParameter("flash");
var printerfriendly = deconcept.util.getRequestParameter("printerfriendly");
*/
var swfversion = swfobject.getFlashPlayerVersion();
var noflash = swfobject.getQueryParamValue("noflash");
var flash = swfobject.getQueryParamValue("flash");
var printerfriendly = swfobject.getQueryParamValue("printerfriendly");

if (flash=='yes') eraseCookie('flash');
if (flash=='no'||readCookie('flash')=='no') {createCookie('flash','no',1); noflash=1;}
if (document.getElementById && (swfversion['major'] >= 7) && noflash=='' && printerfriendly=='') {
	document.writeln("<STYLE>.divFlash{display:block;}.divHtml{display:none;}</"+"STYLE>");
}

/* ==================== */

window.onload = function(){init();}

function init() {}

/*
var lastFrameUrl = ''
function freshDiv(act,url) {
	frm = MM_findObj('freshFrame','');
	if (url!='' && frm.src!=lastFrameUrl) {
		frm.src=url;
	}
	if (act=='show') {
		MM_changeProp('divFresh',0,'style.display','block');
	} else {
		MM_changeProp('divFresh',0,'style.display','none');
	}
	lastFrameUrl = frm.src;
}
*/

/* ==================== */

function createCookie(name,value,days) {
	var expires="", date=new Date();
	if (days) {
		date.setTime(date.getTime()+(days*24*60*60*1000));
		expires="; expires="+date.toGMTString();
	}
	document.cookie=name+"="+value+expires+"; path=/";
}
function readCookie(name) {
	var nameEQ=name+"=", ca=document.cookie.split(';'), c="";
	for(var i=0;i < ca.length;i++) {
		c = ca[i];
		while (c.charAt(0)==' ') c=c.substring(1,c.length);
		if (c.indexOf(nameEQ)==0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
function eraseCookie(name) {createCookie(name,"",-1);}

/* ==================== */

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 MM_showHideLayers() { //v3.0m1
  var i,p,v,obj,args=MM_showHideLayers.arguments;
	for (i=0; i<(args.length-2); i+=3) {
		if ((obj=MM_findObj(args[i]))!=null) {
			v=args[i+2];
			if (obj.style) obj=obj.style;
			if (v=='show'||v=='hide') {
				if (obj.style) v=(v=='show')?'visible':(v='hide')?'hidden':v;
				obj.visibility=v;
			}
			if (v=='block'||v=='none') {
				obj.display=v;
			}
			if (v=='none/block') {
				obj.display=(obj.display=='none')?'block':'none';
			}
		}
	}
}
function MM_changeProp(objName,x,theProp,theValue) { //v3.0
  if (typeof(objName)=="string") var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)) eval("obj."+theProp+"='"+theValue+"'");
}