hs.graphicsDir = iUrl+'sys/hs/';
hs.showCredits=false;


var d_hs_outlineType = 'rounded-white';
var d_hs_allowMultipleInstances = false;
var d_hs_enableKeyListener = true;
var d_hs_outlineWhileAnimating = true;
//hs.wrapperClassName = 'hswrapper';
var d_hs_wrapperClassName = 'draggable-header';


hs.outlineType = d_hs_outlineType;
hs.allowMultipleInstances = d_hs_allowMultipleInstances;
hs.enableKeyListener = d_hs_enableKeyListener;
hs.outlineWhileAnimating = d_hs_outlineWhileAnimating;
hs.wrapperClassName = d_hs_wrapperClassName;


/*
document.write('<link rel="stylesheet" href="'+iUrl+'sys/hs/s.css" type="text/css" />');
*/

document.write('<div class="highslide-html-content" style="BACKGROUND-COLOR: white;" id="HSWrap">');
//document.write('<div class="highslide-move" style="height: 20px;text-align:right;"><a href="#" onclick="return hs.close(this)" class="control" style="color:#666" id="HSClose">Close</a></div>');
document.write('<div class="highslide-move"></div>');
document.write('<div class="highslide-body"></div>');
document.write('</div>');





document.write('<div class="highslide-html-content" style="BACKGROUND-COLOR: white;" id="HSNoHeader">');
//document.write('<div class="highslide-move" style="height: 20px;text-align:right;"><a href="#" onclick="return hs.close(this)" class="control" style="color:#666;" id="HSClose">Close</a></div>');
document.write('<div class="highslide-move"></div>');
document.write('<div class="highslide-body"></div>');
document.write('</div>');


/*
document.write('<div class="highslide-html-content" style="overflow:hidden;display:none;" id="HSIp">');
document.write('<div class="highslide-move" style="height: 20px;text-align:right;"><a href="#" onclick="return hs.close(this)" class="control" style="color:#666;cursor:pointer;" id="HSClose">Close</a></div>');
document.write('<div class="highslide-body" style="overflow:hidden;"></div>');
document.write('</div>');
*/



document.write('<div class="highslide-html-content" style="display:none;BACKGROUND-COLOR: white;" id="HSCompare">');
document.write('<div class="highslide-move" style="height: 20px;text-align:right;"><a href="#" onclick="ShowHideScrollbar(false);return hs.close(this)" class="control" style="color:#666" id="HSClose">Close</a></div>');
document.write('<div class="highslide-body"></div>');
document.write('</div>');





hs.Expander.prototype.onAfterClose = function() {
	hs.outlineType = d_hs_outlineType;
	hs.allowMultipleInstances = d_hs_allowMultipleInstances;
	hs.enableKeyListener = d_hs_enableKeyListener;
	hs.outlineWhileAnimating = d_hs_outlineWhileAnimating;
	hs.wrapperClassName = d_hs_wrapperClassName;
	hs.headingText='';
}






hs.Expander.prototype.onBeforeExpand = function(sender) {
	var hsLNK = sender.a.href;

	if (hsLNK.indexOf("/taf.asp?")!=-1) {
		setTAF();
		}
	else if (hsLNK.indexOf("/spn.asp?")!=-1) {
		setSPN();
		}
	else if (hsLNK.indexOf("/ip.asp?")!=-1) {
		setTabs();
		}
}

hs.Expander.prototype.onAfterExpand = function(sender) {
	var hsLNK = sender.a.href;

	if (hsLNK.indexOf("/ip.asp?")!=-1) {
		setTabs();
		var LJS=$('LoadSysJS');
		if (LJS) {try {eval(LJS.value);} catch(err) {}}
		LJS=$('LoadJS');
		if (LJS) {try {eval(LJS.value);} catch(err) {}}
		}
}

/*
hs.Expander.prototype.onAfterExpand = function () {
   alert (this.heading.innerHTML);
}*/

/*
hs.Expander.prototype.onAfterGetHeading = function (sender) {
	if (sender.heading) {alert(sender.heading.innerHTML);sender.heading.innerHTML += this.a.title;}
	}*/
