/*************************
DISCLAIMER & COPYRIGHT
This script has been created for specific
use by - 
Using this script by any other company/individual without permission and payment
is strictly prohibited and will be treated as violation of copyright law.
For further information please contact Steve M at kathy@ccip.com
OR admin@3rdmstudio.com
*************************/

var agent = navigator.userAgent.toLowerCase();
var is_ns  = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) 
                && (agent.indexOf('compatible') == -1)));
var is_ie   = (agent.indexOf("msie") != -1);

if (document.layers||(document.getElementById && is_ns)){
document.write('<Script Language="JavaScript" Src="ccip_menuns1.js"><\/Script>');
}

if ((document.all && !(document.getElementById))||(document.getElementById && is_ie)){
document.write('<Script Language="JavaScript" Src="ccip_menuie1.js"><\/Script>');
}

if ((document.all && !(document.getElementById))||document.getElementById||document.layers){
name1a = new Image;name1a.src = 'fx/off_tour.gif';
name1b = new Image;name1b.src = 'fx/on_tour.gif';
name2a = new Image;name2a.src = 'fx/off_clubhouse.gif';
name2b = new Image;name2b.src = 'fx/on_clubhouse.gif';
}

function changeon(imgName) {
if ((document.all && !(document.getElementById))||document.getElementById||document.layers){
imgOn = eval(imgName + 'b.src');
document[imgName].src = imgOn;}
}

function changeout(imgName) {
if ((document.all && !(document.getElementById))||document.getElementById||document.layers){
imgOff = eval(imgName + 'a.src');
document[imgName].src = imgOff;}
}