// Library of Javascript Function used by the ESupport team
// If Javascript option selected in CMS data capture template,
// This file is automatically included in the HTML


// Open new window
function ShowNew(strUrl, strNewOptions)
{
    if (strNewOptions != '') // no custom options
        window.open(strUrl, "New", 'location=yes,toolbar=yes,menubar=no,status=no,scrollbars=yes,resizable=yes,top=200,left=200,width=550,height=325');
    else
        window.open(strUrl, "New", strNewOptions);
}

//Opens Virtual System Tour for Servers
function openVST(popVST){

            winpops=window.open(popVST,"PopVST",'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=613,height=404')

}

function openpopup(popurl){

            winpops=window.open(popurl,"PopURL",'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=480,height=312')

}

function openguide(popguide){

            winpops=window.open(popguide,"PopGuide",'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=750,height=300')

}

//Opens and closes content on CS-016885 and CS-016886

function ShowHide(varSECTION) {
		if (document.all(varSECTION).style.display == "none") {
			document.all(varSECTION).style.display = "";
		} else {
			document.all(varSECTION).style.display = "none";	
		}
	}
