/*  JavaScript Comment - AutoLoading:
	Variables defining AutoLoading DHTML Window Widgets (created onload of page)
	Stack Order: Last listed is on Top -  has Highest z-index. 
	Note: Only use 'recal' for AutoLoading windows.
	Normal Window: var uniquevar=dhtmlwindow.open(uniqueID, contenttype, contentsource, title, attributes, [recalonload])
	Modal Window: var uniquevar=dhtmlmodal.open(uniqueID, contenttype, contentsource, title, attributes, [recalonload])
	*/
/* var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://www.google.com/", "#1: Google Web site", "width=750px,height=450px,resize=1,scrolling=1,center=1", "recal");
googlewin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close Google Search Window?");} */
/*var LJPeterwin=dhtmlwindow.open("LJPeterbox", "iframe", "./CodeLabsFillerText.html", "Dr Lawrence J Peter", "width=340px, height=220px, top=0px, left=248px, resize=1, scrolling=1, center=0", "recal");
LJPeterwin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close Dr Lawrence J Peter?");
}*/
/*	Functions defining 'onclick' DHTML Window Widgets.
	Stack Order: Determined by Order of Creation by USER.*/
	
function openBirmingHAMfest2010(){
var FleaGatewin=dhtmlwindow.open("BirmingHAMfest2010box", "iframe", "http://www.w4cue.com/fest.html", "BirmingHAMfest 2010", "width=816px, height=520px, resize=1, scrolling=1, center=1");
return false;
}

function LicClasses(){ /* Licenses Classes Alert */
window.alert('Amateur Radio License Study Classes\n-=-=-=-=-=-=-=-=-=-=-=-=-\nAnyone interested in Study Classes for Technician, \nGeneral or Extra, should contact Ron Andrews, KC0I \nat (205) 987-2599. Email: classes@w4shl.com\n\nClass scheduling is your choice of day and time. \nRon will come to you if there are 2 or more students.\n\nTechnician Study Classes run for 4 weeks, \nGeneral Study Classes run for 8 weeks, \nExtra Study Classes run for 8 weeks.\n\nTeaching sessions are 1 hr long, one day per week.\nRon will also teach Morse Code classes, if desired.\n\nSee Public Calendar at w4shl.com for exam details.');
}

function openPublicCalendar(){
var GCalendarrwin=dhtmlwindow.open("PubCalBox", "iframe", "http://tinyurl.com/6dxl8k", "SCARC Public Calendar", "width=780px, height=520px, resize=1, scrolling=1, center=1")
GCalendarrwin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close SCARC Public Calendar?");}
}

function openNetScript(){
var NetScriptwin=dhtmlwindow.open("NetScriptBox", "iframe", "./ShlCoNet.htm", "SCARES Net Preamble", "width=850px, height=600px, resize=1, scrolling=1, center=1")
NetScriptwin.onclose=function(){ 
return window.confirm("Close SCARES Net Preamble?");}
}

function openFleaGate(){
var FleaGatewin=dhtmlwindow.open("FleaGatebox", "iframe", "./fleagate.html", "FleaGate/FreezeFest - W4SHL.com", "width=460px, height=550px, resize=1, scrolling=1, center=1");
return false;
}

function OldNavPanel(){
var OldNavPanelwin=dhtmlwindow.open("OldNavPanelbox", "iframe", "./navigate.html", "Retro Site Nav", "width=146px, height=660px,  top=0px, left=0, resize=1, scrolling=1, center=0"); return false;
}

function openFMSimEx(){
var FMSimExwin=dhtmlwindow.open("FMSimExbox", "iframe", "http://www.w4shl.com/06132009.html", "FM Simplex Exercise June 13 2009", "width=740px,height=350px,resize=1,scrolling=1,center=1");
FMSimExwin.onclose=function(){
return window.confirm("Close THIS Window?");
};
}
/* Begin Youtube Video Portal Definitions Script  894x600 */
function openBigYTVPortal(){
var YTPortwin=dhtmlmodal.open('YouTubePortal', 'iframe', './YouTubePortal.html', 'YouTube in HQ/HD', 'width=840px, height=554px, resize=1, scrolling=1, center=1'); 
return false;}
/* End Youtube Video Portal Definitions Script */
function openMorseTran(){
var Morsewin=dhtmlwindow.open("Morsebox", "iframe", "http://morsecode.scphillips.com/jtranslator.html", "Morse Code  Trainer/Translator", "width=750px, height=450px, resize=1, scrolling=1, center=1");
Morsewin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close Morse Code Trainer/Translator?"); 
};
}
function opengooglesearch(){
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://www.google.com/", "Google Web Search", "width=750px,height=450px,resize=1,scrolling=1,center=1");
googlewin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close Google Web Search?");
};
}
function openARResources(){
var ARResources=dhtmlwindow.open("ARResourcesbox", "iframe", "http://www.berkshiretv.com/hamlinks.htm", "Amateur Radio Resources", "width=750px, height=450px, resize=1, scrolling=1, center=1");
ARResources.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close Amateur Radio Resources?");
};
}
function openASCII2Hex(){
var ASCII2Hexwin=dhtmlwindow.open("AsciiHexBox", "iframe", "./ASCII2HEX_Tool.html", "ASCII to Hexidecimal", "width=750px, height=460px, resize=1, scrolling=1, center=1");
ASCII2Hexwin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close ASCII to Hexidecimal Conversion Tool?");
};
}
function openLJPeter(){
var LJPeterwin=dhtmlwindow.open("LJPeterbox", "iframe", "./CodeLabsFillerText.html", "Dr Lawrence J Peter", "width=340px, height=220px, top=0px, left=248px, resize=1, scrolling=1, center=0");
LJPeterwin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close Dr Lawrence J Peter?");
};
}
function openmemberroster(){
var memberwin=dhtmlwindow.open("MemberBox", "iframe", "./SCARCMemberList.html", "SCARC Membership", "width=750px, height=450px, resize=1, scrolling=1, center=1");
memberwin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close SCARC Membership?");
};
}
function openShlCoNet(){ 
var ShlCoNetwin=dhtmlwindow.open('Netbox', 'iframe', './ShlCoNet.htm', 'SCARES Net Preamble', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
ShlCoNetwin.onclose=function(){return window.confirm('Close SCARES Net Preamble?');
};
}
function openSiteMap(){ 
var SiteMapwin=dhtmlwindow.open('Sitemap', 'iframe', './W4SHL-SiteMap.html', 'W4SHL.com Sitemap', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
SiteMapwin.onclose=function(){return window.confirm('Close W4SHL.com SiteMap?');
};
}
function openARRLALWeb(){ 
var ARRLALWebwin=dhtmlwindow.open('ARRLALWeb', 'iframe', 'http://www.arrl-al.org', 'ARRL Alabama website', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
ARRLALWebwin.onclose=function(){return window.confirm('Close ARRL Alabama website?');
};
}
function openARRLWeb(){ 
var ARRLWebwin=dhtmlwindow.open('ARRLWeb', 'iframe', 'http://www.arrl.org', 'ARRL Web (National)', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
ARRLWebwin.onclose=function(){return window.confirm('Close ARRL Web (National)?');
};
}
function openswapQthcom(){ 
var swapQth=dhtmlwindow.open('Qthcomswapbox', 'iframe', 'http://swap.qth.com/', 'QTH.COM Free Classified Ads', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
swapQth.onclose=function(){return window.confirm('Close QTH.COM Free Classified Ads?');
};
}
function openw4apfest(){ 
var w4apfest=dhtmlwindow.open('w4apbox', 'iframe', 'http://www.w4ap.org/modules.php?name=Hamfest', 'W4AP.org: Hamfest', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
w4apfest.onclose=function(){return window.confirm('Close W4AP.org: Hamfest?');
};
}
function openWeather(){ 
var Weatherwin=dhtmlwindow.open('Weather', 'iframe', 'http://radar.weather.gov/', 'NWS Weather Radar', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
Weatherwin.onclose=function(){return window.confirm('Close NWS Weather Radar?');
};
}
function openFCCuls(){ 
var FCCuls=dhtmlwindow.open('ULS1', 'iframe', 'http://wireless2.fcc.gov/UlsApp/UlsSearch/searchAmateur.jsp', 'FCC ULS Search', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
return false;
}
function openGoesGMex(){ 
var GoesGMex=dhtmlwindow.open('GoesGMexbox', 'iframe', 'http://www.ssd.noaa.gov/GOES/EAST/gmex.html', 'GOES Gulf of Mexico', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
GoesGMex.onclose=function(){return window.confirm('Close GOES Gulf of Mexico?');
};
}
function openGoesWx(){ 
var GoesWx=dhtmlwindow.open('GoesWxbox', 'iframe', 'http://www.goes.noaa.gov/', 'GOES Wx Radar Server', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
GoesWx.onclose=function(){return window.confirm('Close GOES Wx Radar Server?');
};
}
function openEchoLink(){ 
var EchoLink=dhtmlwindow.open('EchoLbox', 'iframe', 'http://www.echolink.org/', 'Introducing EchoLink', 'width=750px, height=450px, resize=1, scrolling=1, center=1'); 
EchoLink.onclose=function(){return window.confirm('Close Introducing EchoLink?');
};
}
function openARRLFccLookup(){ 
var ARRLFccLookup=dhtmlwindow.open('ARRLFccLookbox', 'iframe', './ARRLFccLookUP.html', 'Call Sign Search', 'width=260px, height=270px, top=100px, left=1px, resize=1, scrolling=1, center=0'); return false;
/*ARRLFccLookup.onclose=function(){return window.confirm('Please Confirm: \n\nClose FCC License Search?')
} */
}
function openWebGurulinkswin(){
var WebGurulinkswin=dhtmlwindow.open('div1box', 'div', 'mydiv', 'Web Guru: Links', 'width=236px, height=100px, left=1px, top=428px, resize=1, scrolling=1'); 
WebGurulinkswin.onclose=function(){return window.confirm('Close Links Window?');
};
}
function openLabwin(){
var WebGuruwin=dhtmlwindow.open('WebGurubox', 'inline', "<div style='background:#99f;font:9.5pt tahoma;padding:10px;'><span>Please have fun while on this page and ALERT me of any problems you may incur. To contact the 'Web Guru', use the link under the spinning globe. (Just &lt;click&gt; on it and follow the instructions.) Your comments are welcomed.<br /><br /><b>Load the <a href='#' onclick=\"openWebGurulinkswin(); return false;\"><b style='color:#f00;'>Links Window</b></a></b>. The Linked pages / websites are designed to open over the main window. Open as many as you like at the same time. You can move, minimize, restore, resize, and close each independently. Give them ALL a try.<br /><br />Suggest Additional Links.<br /><br /></span></div>", 'Web Guru\'s Lab Page:', 'width=236px, height=174px, left=1px, top=1px, resize=1, scrolling=1, center=0');
WebGuruwin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close \'Web Guru\'s Lab Page\' Window?");
};
}

