<!--

var ikb_WinNum = 0;
			
//************************* 
//* Print Window
//*************************

	function ikb_PrintArticle(articleID)	{  
	   var String = "toolbar=0,location=1,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=0,";
	   String += ",width=" + (screen.width - 400);
	   String += ",height=" + (screen.height - 300);
	   WinPic = window.open("print.aspx?id=" + articleID, ikb_WinNum++, String);
	}
	   
	function ikb_selIcon(hidNodeTxtBox, strIcon)	{
		var obj = eval('document.all.' + hidNodeTxtBox); 
		obj.value = strIcon;
	}
	/*************************************************************************
	  Original Code is from Dynamic Web Coding at http://www.dyn-web.com/
	  Modified by Thushan Fernando for WebSoftware. (ORIGINAL CODE = #)
	  ------------------------------------------------------------------------
	  Copyright 2001-3 by Sharon Paine 
	  See Terms of Use at http://www.dyn-web.com/bus/terms.html
	  regarding conditions under which you may use this code.
	  This notice must be retained in the code as is!
	*************************************************************************/
	
	//#################### (Author: Thushan Fernando)
	function syncLayer(id, imgID) {
	  var lyr = getElemRefs(id);
	  var img = getElemRefs(imgID);
	  if (lyr && lyr.css){
	  	if(lyr.css.visibility == "hidden"){
	  		lyr.css.visibility = "visible";
	  		img.src="/images/page_chevron_up.gif";
		}
	  	else{
	  		lyr.css.visibility = "hidden";
	  		img.src="/images/page_chevron_down.gif";
	  	}	  		
	  }	  
	}
	//#################### (Author: Sharon Paine)
	// onresize for ns4
	var origWidth, origHeight;
	if (document.layers) {
		origWidth = window.innerWidth; origHeight = window.innerHeight;
		window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
	}	
	function getElemRefs(id) {
		var el = (document.getElementById)? document.getElementById(id): (document.all)? document.all[id]: (document.layers)? document.layers[id]: null;
		if (el) el.css = (el.style)? el.style: el;
		return el;
	}
	//######################

//-->
