<!--  - start -->
<!--
// global stuff:
var NS=false;
var MSIE=false;
var browser=navigator.appName;
var version=parseInt(navigator.appVersion);
//alert(browser);
if(browser=="Netscape" && version>= 3) NS=true;
else if(browser=="Microsoft Internet Explorer" && version>= 4) MSIE=true;
function popUp(Newlocation,name,w,h,s)
{
	if(s==0)
		var scrollbars="yes";
	if(s==1)
		var scrollbars="no";
	popUpWindow=window.open(Newlocation,name,'toolbar=0,location=no,directories=0,status=0,menubar=0,left=10,top=10,scrollbars='+scrollbars+',resizable=no,width='+w+',height='+h);
	if (popUpWindow.opener==null) popUpWindow.opener=self;
	if (window.focus) popUpWindow.focus();
}

function popupwithScrollNew(url)
	{pupW = window.open(url,'nesto','top=30,left=30,scrollbars=yes,resizable=yes,width=710,height=350')}

function closePopUpWin(ID)
{
		if(self.opener==null)
			self.opener=window;
		opener.location.href="depot.asp?PortfolioID=" + ID;
	self.close();
}

function refreshWin(ID)
{
		if(self.opener==null)
			self.opener=window;
		opener.location.href="depot.asp?PortfolioID=" + ID;
//	self.close();
}

function textBox(name,tekst,size,maxSize,valueName, events)
{
 if (browser == "Microsoft Internet Explorer" || browser=="MSIE") 
	{
	  document.write('<input type="' + tekst + '" name="' + name + '" size="' + size + '"  maxlength="' + maxSize +'" value="' + valueName + '" class="normalTextSmall1" ' + events + '>');
	 }
	else
	{
	   document.write('<input type="' + tekst + '" name="' + name + '" size="' + String(Number(size)-7) + '"  maxlength="' + maxSize +'" value="' + valueName + '" class="normalTextSmall1"  ' + events + '>');
	  }
}

function hiddenBox(name,valueName)
{
	  document.write("<input type='hidden'   name='" + name + "' value='" + valueName + "'>");
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function showHideLayers() 
{ 
//v3.0
//updated for netscape 6.* by terza, Dec.2001.
  	var i,p,v,obj,args=showHideLayers.arguments;
  	for (i=0; i<(args.length-2); i+=3)
  	{ 
	  	if ((obj=MM_findObj(args[i]))==null) 
		{ 
			obj=document.getElementById(args[i]);
		}
		if (obj!=null)
		{
			v=args[i+2];
		   	if (obj.style) 
			{ 
				obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; 
			}
		    obj.visibility=v; 
		}
	}				
}
//-->
<!--- end -->