function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function NoPostBack(sNewFormAction)
	{
		document.forms[0].action = sNewFormAction;
		document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE';
	}

function winResize() {
			if (document.p !=null ){
				var height = document.p.height + 50;
				var width = document.p.width + 10;
								if ( navigator.appName=="Netscape" ) {
					top.outerWidth=width;
					top.outerHeight=height;
				} else {
				var height = document.p.height + 50;
				var width = document.p.width+ 10;
									top.resizeTo(width,height);
				}
				}
	}
function MM_openBrWindow_home(id)
{
	newpop = window.open('pop.asp?pic='+id,'_blank','width=1,height=1,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0');
}

function MM_jumpMenu(targ,selObj,restore){ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}