//generates a secondary window, based on 14 paramaters passed to this function, that determin the file, size, loaction and attributes of the window.
//<a href=javascript:onClick=StdPopUp('dir2/','form',700,550,50,50,'no','no','no','no','no','no','no','no')>Open form</a>
//The attributes are in the order:
//pathfromRoot,file,extension,height,width,top,left,toolbar,location,directories,status,menubar,scrollbars,resizable,copyhistory
//Where:
//pathfromroot - is the full path from the root directory, as defined by the ASP attribute sRootPath
//file - the file name (without extension - deafult is asp)
//extension - the file extension without the '.' (dot)
function StdPopUp(pathfromRoot,file,extension,height,width,top,left,toolbar,location,directories,status,menubar,scrollbars,resizable,copyhistory){
	srcfile="../"+pathfromRoot+file+"."+extension;
	window.open(srcfile,file,'height='+height+',width='+width+',top='+top+',left='+left+',toolbar='+toolbar+',location='+location+',directories='+directories+',status='+status+',menubar='+menubar+',scrollbars='+scrollbars+',resizable='+resizable+',copyhistory='+copyhistory);
}