var returnUrl = "";
var baseDomain = "http://" + window.location.hostname;
function wopen(url, name, w, h){w += 32;h += 96;wleft = (screen.width - w) / 2;wtop = (screen.height - h) / 2; var win = window.open(url, name, 'width=' + w + ', height=' + h + ', ' + 'left=' + wleft + ', top=' + wtop + ', ' + 'location=no, menubar=no, ' + 'status=no, toolbar=no, scrollbars=no, resizable=no');}
function redirect(url) { window.location = url; }
function n(url) { redirect(url); }
function getValue(obj) { if (obj != null) { return obj.options[obj.selectedIndex].value;}}
function getStyleObject(objectId) { if(document.getElementById && document.getElementById(objectId)) { return document.getElementById(objectId).style; } else if (document.all && document.all(objectId)) {return document.all(objectId).style; } else if (document.layers && document.layers[objectId]) {return document.layers[objectId]; } else { return false; }}
function changeObjectVisibility(objectId, newVisibility) { var styleObject = getStyleObject(objectId); if(styleObject) { styleObject.visibility = newVisibility; if (newVisibility == "visible") { styleObject.display = 'block'; } else { styleObject.display = 'none'; }return true; } else { return false; }}
function HomePage() { if ( ! document.all ) { alert("This function doesn't work under Mozilla Browsers - Netscape or FireFox! \n\nPlease set it at:\n\tEdit/Preferences/Navigator \nmanualy!"); } else { newHomepage.style.behavior='url(#default#homepage)';newHomepage.setHomePage(baseDomain); } }
function printPage() {window.print();}
function co(obj) { obj.className = "menuItem_on"; }
function cob(obj) { obj.className = "b_on"; }
function ct(obj) { obj.className = "menuItem_off"; }
function plo(obj) { obj.className = "plo"; }
function pl(obj) { obj.className = "property"; }
function cb(obj) { obj.className = "b"; }
function ro(obj) { obj.className = "n_on"; }
function rt(obj) { obj.className = "n_off"; }
function cso(obj) { obj.className = "submenuItem_on"; }
function cst(obj) { obj.className = "submenuItem_off"; }
function cmo(obj) { obj.className = "mi_on"; }
function cmb(obj) { obj.className = "mi"; }
function Send(id) {wopen ('/sendpage?pid=' + id, 'Send_page', 430, 340);}

