\n');
document.write('
\n');
closeLayer()
}
function topNavOn(on,nav) {
if (ie4up)
{
document.all["TopNavButtonBG0" + nav].style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;
document.all["TopNavButtonBG1" + nav].style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;
document.all["TopNavButtonBG2" + nav].style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;
document.all["TopNavButtonBG3" + nav].style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;
document.all["TopNavButtonTop0" + nav].style.backgroundColor = (on) ? TopNavButtonOverTop : TopNavButtonTop;
document.all["TopNavHighlight10" + nav].style.backgroundColor = (on) ? TopNavButtonOverHighlight1 : TopNavButtonHighlight1;
document.all["TopNavHighlight20" + nav].style.backgroundColor = (on) ? TopNavButtonOverHighlight2 : TopNavButtonHighlight2;
document.all["TopNavDimlight0" + nav].style.backgroundColor = (on) ? TopNavButtonOverDimlight : TopNavButtonDimlight;
document.all["TopNavDimlight1" + nav].style.backgroundColor = (on) ? TopNavButtonOverDimlight : TopNavButtonDimlight;
}
else if(dom)
{
document.getElementById("TopNavButtonBG0" + nav).style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;;
document.getElementById("TopNavButtonBG1" + nav).style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;;
document.getElementById("TopNavButtonBG2" + nav).style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;;
document.getElementById("TopNavButtonBG3" + nav).style.backgroundColor = (on) ? TopNavButtonOverBG : TopNavButtonBG;
document.getElementById("TopNavButtonTop0" + nav).style.backgroundColor = (on) ? TopNavButtonOverTop : TopNavButtonTop;
document.getElementById("TopNavHighlight10" + nav).style.backgroundColor = (on) ? TopNavButtonOverHighlight1 : TopNavButtonHighlight1;
document.getElementById("TopNavHighlight20" + nav).style.backgroundColor = (on) ? TopNavButtonOverHighlight2 : TopNavButtonHighlight2;
document.getElementById("TopNavDimlight0" + nav).style.backgroundColor = (on) ? TopNavButtonOverDimlight : TopNavButtonDimlight;
document.getElementById("TopNavDimlight1" + nav).style.backgroundColor = (on) ? TopNavButtonOverDimlight : TopNavButtonDimlight;
}
}
// browser sniffer
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var browserDir ;
var styleString ;
if(ie4up){
browserDir = ""
}
if(ns4up || ns6up){
//browserDir = "nn/"
browserDir = ""
}
//alert(browserDir) ;
/*
styleString = "
\n" ;
styleString += "
\n" ;
document.writeln(styleString);
*/
function swap_image(image, new_src) {
changeImage(image, new_src);
}
function changeImage(image_name, new_src) {
if(image_name!=null) {
image_name.src = new_src;
}
}
function openPopup(linkObj,height,width) {
window.open(linkObj.href,"","height="+height+",width="+width+",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no,left=75,top=60");
}
function openFlashPopup(linkObj,height,width) {
window.open(linkObj.href,"","height="+height+",width="+width+",status=no,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,titlebar=no,left=75,top=60");
}
function openFAQPopup(linkObj,height,width) {
window.open(linkObj.href,"","height="+height+",width="+width+",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,titlebar=no,left=75,top=60");
}
function openTextPopup(linkObj,height,width) {
window.open(linkObj.href,"","height="+height+",width="+width+",status=no,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,titlebar=no,left=75,top=60");
}
function openNewWindow(linkObj, height, width, window) {
window.open(linkObj.href,"","height="+height+",width="+width +",top='0',left='0'");
}
function openNewWindow(linkObj){
window.open(linkObj.href,"","top='0',left='0'");
}
function loadImage(image_name, image_src){
image_name = new Image();
image_name.src = image_src ;
}
function showContent(elemName,imgName, imgExpanded, imgCollapsed) {
if (document.all || document.getElementById) {
if (elemName.style.display == '') {
elemName.style.display = 'none';
imgName.src = imgCollapsed;
}
else {
elemName.style.display = '';
imgName.src = imgExpanded;
}
}
}
function dynamicPopUp(myObj){
var str = "\"width=10,height=10,left=75,top=60,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no\"";
window.open("dynamic-popup.htm?img="+myObj.href, "myPopup", str);
return false;
}
function dynamicPagePopUp(myObj){
var str = "\"left=10,top=60,height=550,width=10,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,titlebar=no\"";
window.open(myObj.href, "myPopup", str);
return false;
}