//var sTopic;

function fnToggle(sID, nPointerImage, nToggle) {
	if(nToggle == 1) {
		if(nPointerImage == 1) {
			document.getElementById(sID).innerHTML = '<img src="images/minorpointer_33x47.gif" width="33" height="47" border="0" alt="" />';
		}
		else {
			document.getElementById(sID).innerHTML = '<img src="images/majorpointer_41x47.gif" width="41" height="47" border="0" alt="" />';
		}
	}
	else {
		if(nPointerImage == 1) {
			document.getElementById(sID).innerHTML = '<img src="images/spacer.gif" width="33" height="47" border="0" alt="" />';
		}
		else {
			document.getElementById(sID).innerHTML = '<img src="images/spacer.gif" width="41" height="47" border="0" alt="" />';
		}
	}
}

function fnNavigate(sPage) {
	switch(sPage) {
		case 'a':
			window.location.href="hosting_plans.html";
			break;
			
		case 'b':
			window.location.href="portfolio.html";
			break;
			
		case 'c':
			window.location.href="contact_us.html";
			break;
		
		case 'd':
			break;
			
		case '1':
			window.location.href="index.html";
			break;
			
		case '2':
			window.location.href="application_development.html"
			break;
			
		case '3':
			window.location.href="database_consulting.html"
			break;
			
		case '4':
			window.location.href="web_hosting.html"
			break;
			
		default:
			break;
	}
}

/*
function fnNavigate(sTarget) {
	if(sTarget < 'a') {
		alert('Page: ' + sTarget + 'a');
	}
	else {
		alert('Page: ' + sTopic + sTarget);
	}
}
*/


/*
var aySound = new Array();
// PLACE YOUR SOUND FILES BELOW
aySound[0] = "sounds/Click03.wav";
// Don't alter anything below this line

IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;
onload=auPreload;

function auPreload() {
if (!ver4) return;
if (NS) auEmb = new Layer(0,window);
else {
Str = "<DIV ID='auEmb' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<aySound.length;i++)
Str += "<EMBED SRC='"+aySound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) auEmb.innerHTML = Str;
else {
auEmb.document.open();
auEmb.document.write(Str);
auEmb.document.close();
}
auCon = IE? document.all.soundfiles:auEmb;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? aySound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()"))
}
function playSound(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSound(whSound) { if (window.auCon) auCon.control(whSound,false); }
*/