/*--- Avanquest WebEasy Custom Script ---*/

{self.moveTo(0,0)  
self.resizeTo(1000,800)  
self.focus();} 
<!-- 
/**************************************************** 
     Author: Eric King 
     Url: http://redrival.com/eak/index.shtml 
     This script is free to use as long as this info is left in 
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com) 
****************************************************/ 
var win=null; 
function NewWindow(mypage,myname,w,h,scroll,pos){ 
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} 
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/9:100;TopPosition=(screen.height)?(screen.height-h)/9:100;} 
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} 
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes'; 
win=window.open(mypage,myname,settings);} 
// --> 
 
//Script for Announce PopUp 
//Modeless window script- By DynamicDrive.com 
//for full source code and terms of use 
//visit http://www.dynamicdrive.com 
 
function modelesswin(url,mwidth,mheight){ 
if (document.all&&window.print) //if ie5 
eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")') 
else 
eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=1,scrollbars=1")') 
} 
 
//configure URL and window dimensions (width/height) 
modelesswin("http://www.thetroybar.com/htm/announce/promo/pr_001.htm",510,600)

/*--- EndOfFile ---*/
