    hs.graphicsDir = '../img/highslide/';
    hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'draggable-header';
	hs.minWidth = 720;
	hs.minHeight = 600;
	hs.width = 720;
		hs.height = 600;
	hs.showCredits = false;
//	hs.allowMultipleInstances = false;
hs.cacheAjax = false;
hs.preserveContent  = false;
hs.captionEval = 'this.a.title';

hs.Expander.prototype.onAfterExpand = function() {
	//	var ob = document.getElementById("javascript_eval");
//	if(ob!=""&&ob!=null){// eval(ob.innerHTML);
		var ob = document.getElementsByTagName("script");
	for(var i=0; i<ob.length-1; i++){
			if(ob[i+1].text!=null) eval(ob[i+1].text);
		}
	}
/*
hs.Expander.prototype.onAfterExpand = function() {
   var head= document.getElementsByTagName('head')[0];
		var ob = document.getElementsByTagName("script");
	for(var i=0; i<ob.length-1; i++){
			if(ob[i+1].text!=null){
			   var script= document.createElement('script');
			   script.type= 'text/javascript';
			   script.text= ob[i+1].text;
			   head.appendChild(script);
			}
		}
	}
	*/




hs.Expander.prototype.onAfterClose = function (sender) {

}
	/*
		for(var i=0; i<ob.length-1; i++){
			if(ob[i+1].text!=null) eval(ob[i+1].text);
					
		}
	  }*/
	  
//   var theForm = document.forms[0];
//   if (theForm) theForm.appendChild(hs.container);
