//=================================================================================
//A RE script  Copyright 2005 (March05)
//Use of script is based on permissions only
//This script has beed granted use for this webpage and website.
//CSS/AJAX
//This script will insert a outside page and script into a CSS defined space(box)
//It is associated with menu buttons that will automatically load a different page
//into the defined CSS box space. It will also execute scripts within the space
//but will break out any URL links.
//=================================================================================

//=======================================================================================
//Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
//=======================================================================================
var displaymode=0
//===========================================================================================
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
//===========================================================================================
var iframecode='<iframe id="external" style="width:820px;height:650px" src="http://www.cap-ravens.net/Home/opening_page.php"></iframe>'

//====================================
// NO Need To Edit Any Code BELOW //
//====================================

if (displaymode==0)
document.write(iframecode)

function switchto(inputurl){
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=inputurl
else if (document.all&&displaymode==0)
document.all.external.src=inputurl
else{
if (!window.win2||win2.closed)
win2=window.open(inputurl)
//======================================
//else if win2 already exists
//======================================
else{
win2.location=inputurl
win2.focus()
}
}
}
//=========================
//End of JavaScript Coding
//
//Copyright � 2005 March05
//=========================
// JavaScript Document