<!--

function getwin(wr_win, wname, w, h) 
	{ var w_config = "status=0,scrollbars=0,resizable=0,width=" + w + ",height=" + h; var w_var = window.open(wr_win, wname, w_config); if (w_var.history.length >= 1) 

	{ var del = -w_var.history.length; w_var.history.go(del); 
	} 
}


	//  Window for other site pages
function getwinURL(src)
	{ 
		OpenWin = window.open(src, "CtrlWindow", "resizable=yes,scrollbars=yes,location=yes,menubar=yes,toolbar=yes,status=yes,width=600,height=400"); 
	} 


//  Drop down page selection 
function DropDown(fname) 
{ 
		page = document.forms[fname].selector.options[document.forms[fname].selector.selectedIndex].value
		if (page=="header")
		{
			return false;
		}
		else
		{
			window.location.href = page
	}		 
} 

<!-- 
function menuList (name) {
if (document.images){

this.off = new Image();
this.off.src = "images/t_m_" + name + "_off.gif"
this.on = new Image();
this.on.src = "images/t_m_" + name + "_on.gif"

        }
}

function menu_new (name) {
menuList[name] = new menuList(name);
}

function img_on (imgName) {
    if (document.images) document[imgName].src = menuList[imgName].on.src;
          
}

function img_off (imgName) {
    if (document.images) document [imgName].src = menuList[imgName].off.src;
        
}

 
if (document.images) {
 menu_new ('home');
 menu_new ('current');
 menu_new ('indicator');  
 menu_new ('feature');
 menu_new ('prev');
 menu_new ('sub');
        } 

function alertfiledelete(url) {
var answer=confirm("Delete this file?")
if (answer !="0"){
 top.location = url
}
}
		
		
		
function expand(output,input,field,formHeight,formName) {
winHeight = formHeight * 12 + 164


formImageWidth = 310;


strWindow = 'resizable=yes,scrollbars=yes,location=no,menubar=yes,toolbar=no,status=yes,width=620,height=' + winHeight
newwin = window.open('','', strWindow);
if (!newwin.opener) newwin.opener = self;
with (newwin.document)
{
open();
write('<html><head>');
write('<title>NSED</title>');
write('<link rel="stylesheet" href="css/econ_new_common.css" type="text/css">');
write('<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="js/common.js"></SCRIPT>');
write('</head>');
write('<body bgcolor="#FFFFFF" text="#000000" marginwidth="0" link="#0c27aa" vlink="444444" leftmargin="0" topmargin="0" marginheight="0">');
write('<center>');
write('<table width="600" border="0" cellspacing="0" cellpadding="0"><FORM NAME=form><tr><td width="600"><img src="/econ/images/nsed_print.gif" width="600" height="24"></td></tr></table>');
write('<table width="600" border="0" cellspacing="0" cellpadding="0"><tr align="left" valign="top"><td width="20">&nbsp;</td><td width="580" colspan="2" class="content"><br><img src="/econ/images/space.gif" width="1" height="4" border="0" alt=""><br><b>' + formName + '</b><br>Any updates to the text in this window will be input automatically into the form.<br><br><b>' + field + ':</b></td></tr></table>');
write('<table border="0" cellspacing="0" cellpadding="0"><tr><td width="20"><img src="/econ/images/space.gif" width="20" height="1"></td><td width="580" class="content"><FONT class=content>');
write('<TEXTAREA class=content name=box wrap=soft cols=88 rows=' + formHeight + ' onKeyUp=' + output + '=this.value>' + input + '</TEXTAREA><img src="/econ/images/space.gif" width="580" height="1">');

write('</FORM><a href="javascript:window.close()"><img src="/econ/images/b_close.gif" width="38" height="17" border="0"></a>');
write('</td></tr></table></font></body></html>');
close();
   }
}

var aspecttrack = 0


function display(image, width, height) {
if (document.images) {
if (aspecttrack != 0 ) {
if (gw && gw.open && !gw.closed) gw.close(); }


gw=window.open( "", "r", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height+"");

aspecttrack = 1;

gw.document.open("text/html", "replace");
gw.document.write( "<HTML><HEAD><TITLE>Office of Economic Development - NSNP</TITLE></HEAD>" )
gw.document.write("<BODY bgcolor='#ffffff' marginwidth='0' marginheight='0' leftmargin='0' topmargin='0'><CENTER>")
gw.document.write("<IMG SRC='"+image+"' WIDTH='"+width+"' HEIGHT='"+height+"'>")
gw.document.write("</CENTER></BODY></HTML>")
} else {
alert( '\nSorry, this Feature requires Netscape Navigator, Version 3.0 or greater\n'+
'or Microsoft Internet Explorer, Version 4.0+.\n\n' )
}
gw.focus();
}

function displayBoatbuilders(image, width, height) {
if (document.images) {
if (aspecttrack != 0 ) {
if (gw && gw.open && !gw.closed) gw.close(); }


gw=window.open( "", "r", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height+"");

aspecttrack = 1;

gw.document.open("text/html", "replace");
gw.document.write("<HTML><HEAD><TITLE>Office of Economic Development - Nova Scotia Boatbuilders</TITLE><LINK REL='STYLESHEET' TYPE='text/css' HREF='/econ/css/econ_new_common.css'></HEAD>" )
gw.document.write("<BODY bgcolor='#ffffff' marginwidth='0' marginheight='0' leftmargin='0' topmargin='0'>")
gw.document.write("<img src='/econ/boatbuilders/images/t_nsba_s.gif' width='480' height='28' border='0' alt=''><br><img src='/econ/images/space.gif' width='1' height='5' border='0'><br>")
gw.document.write("")
gw.document.write("")
gw.document.write("<center><IMG SRC='"+image+"' WIDTH='470' HEIGHT='315'><center><img src='/econ/boatbuilders/images/c_nsba_photo.gif' width='58' height='7' border='0' align='right' hspace='6'>")
gw.document.write("<span class='contentsmall'><br><img src='/econ/images/space.gif' width='1' height='2' border='0'><br>For information on the boats shown, contact the <b>Nova Scotia Boatbuilders Association</b><br><center><a href='http://www.nsboats.com' target='_blank'>www.nsboats.com</a> | <a href='mailto:info@nsboats.com' target='_blank'>info@nsboats.com</a>.</span></center><img src='/econ/images/space.gif' width='1' height='16' border='0'><br><a href='javascript:window.close()'><img src='/econ/images/b_close.gif' width='38' height='17' border='0'></a>")
gw.document.write("</BODY></HTML>")
} else {
alert( '\nSorry, this Feature requires Netscape Navigator, Version 3.0 or greater\n'+
'or Microsoft Internet Explorer, Version 4.0+.\n\n' )
}
gw.focus();
}

//-->

