/*	////////////////////////////////////////////////////////

These are deprecated functions that still exist in some older pages, being replaced as the pages are updated.

////////////////////////////////////////////////////////////	*/

function newWindow3x3(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=300,height=300");
newWin.focus();
}

function newWindow4x4(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=400,height=400");
newWin.focus();
}


function newWindow4x3(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=400,height=300");
newWin.focus();
}

function newWindow3x4(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=300,height=400");
newWin.focus();
}

function newWindow4x5(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=400,height=500");
newWin.focus();
}

function newWindow6x5(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=600,height=500");
newWin.focus();
}

function newWindow5x4(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=500,height=400");
newWin.focus();
}

function newWindow5x5(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=500,height=500");
newWin.focus();
}

function newWindow7x5(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=700,height=500");
newWin.focus();
}

function newWindow6x8(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=600,height=800");
newWin.focus();
}

function newWindow4x55(webURL)
{
var newWin = window.open(webURL, "new_window", "scrollbars,resizable,width=400,height=550");
newWin.focus();
}

/*	////////////////////////// 	End of deprecated functions	//////////////////////////////	*/

function newWindow(url, name, features) {

var newWin = window.open(url, name, features);
newWin.focus();
}

function changeScreen1 (pic) {

document.getElementById('screen1image').src = cultchGallery[pic].src;
document.getElementById('screen1credit').childNodes[0].nodeValue = cultchCredits[pic];
document.getElementById('screen1caption').childNodes[0].nodeValue = cultchCaptions[pic];

}



function writeMessage() {
document.write("<h3>What is Cultch?</h3><p>Bits of pertinent information that don't fit neatly elsewhere in the Guide. Photos that really evoke the character of <i>this</i> harbor. Maybe a good sea story, or links to relevant member cruising blogs. That's what we're trying to collect here in our 'cultch box'. Email contributions to info@bostonsailingcenter.com. </p>");
}

function writePolicy() {
document.write("<h3>This page is under development for Spring 2007.</h3>");
}

function writeFooter()
{
document.write("<ul><li><b><i>Boston Sailing Center</i></b></li><li>Cruising Guide</li><li>617.227.4198</li><li>info@bostonsailingcenter.com</li></ul>");
}

function sidenav1()
{
document.writeln("<ul>");
     document.writeln("<li><a href='index.html'>Welcome</a></li>");
     document.writeln("<li><a href='regionalcharts/regionaloverview.html'>Regional Charts</a></li>");
     document.writeln("<li><a href='itineraries/itineraryoverview.html'>Itineraries</a></li>");
     document.writeln("<li><a href='harborindex.html'>Harbor Index</a></li>");
     document.writeln("<li><a href='aboutguide/preface.html'>About the Guide</a></li>");
     document.writeln("<li><a href='http://www.bostonsailingcenter.com'>BSC Home</a></li>");
document.writeln("</ul>");
}

function sidenav2()
{
document.writeln("<ul>");
     document.writeln("<li><a href='../index.html'>Welcome</a></li>");
     document.writeln("<li><a href='../regionalcharts/regionaloverview.html'>Regional Charts</a></li>");
     document.writeln("<li><a href='../itineraries/itineraryoverview.html'>Itineraries</a></li>");
     document.writeln("<li><a href='../harborindex.html'>Harbor Index</a></li>");
     document.writeln("<li><a href='../aboutguide/preface.html'>About the Guide</a></li>");
     document.writeln("<li><a href='http://www.bostonsailingcenter.com'>BSC Home</a></li>");
document.writeln("</ul>");
}



function sidenav3()
{
document.writeln("<ul>");
     document.writeln("<li><a href='../../index.html'>Welcome</a></li>");
     document.writeln("<li><a href='../../regionalcharts/regionaloverview.html'>Regional Charts</a></li>");
     document.writeln("<li><a href='../../itineraries/itineraryoverview.html'>Itineraries</a></li>");
     document.writeln("<li><a href='../../harborindex.html'>Harbor Index</a></li>");
     document.writeln("<li><a href='../../aboutguide/preface.html'>About the Guide</a></li>");
     document.writeln("<li><a href='http://www.bostonsailingcenter.com'>BSC Home</a></li>");
document.writeln("</ul>");
}






