<!--
//if (top.location != location) { 
//  top.location.href = document.location.href ; 
//} 

var curX, curY;

function Move(evt) {
	var e = evt ? evt : event;
	
	curX = (screenLeft + e.x);
	curY = (screenTop + e.y);
}

if (document.layers)
	document.captureEvents(Event.MOUSEMOVE); 

document.onmousemove = Move;

function printScreen() {
	var agt = navigator.userAgent.toLowerCase();
	if (window.print) {
		window.print();
	}
	else if (agt.indexOf("mac") != -1) {
		alert("Press 'Cmd+p' on your keyboard to print.");
	}
	else {
		alert("Press 'Ctrl+p' on your keyboard to print.")
	}
}

var preloadFlag = false;

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

function preloadImages(loadSamples, loadFull) {
	if (document.images) {
		top_nav01 = newImage("/images/navigation/top-nav-hosting-OVER.png");
		top_nav02 = newImage("/images/navigation/top-nav-programming-OVER.png");
		top_nav03 = newImage("/images/navigation/top-nav-it-OVER.png");
		top_nav04 = newImage("/images/navigation/top-nav-marketing-OVER.png");
		top_nav05 = newImage("/images/navigation/top-nav-websites-OVER.png");
		
		if (loadSamples) {
			preloadSamples(loadFull);
		}
		
		preloadFlag = true;
	}
}

function openPopup( url, name, widgets, openerUrl ) {
	var host = location.hostname;
	if (window == top) { 
		window.top.name = "opener"; }

	var popupWin = window.open( url, name, widgets );

	if ( popupWin && popupWin.opener ) {
		if ( openerUrl ) {
			popupWin.opener.location = openerUrl;
		}
	}

	if ( popupWin ) {
		popupWin.focus();
	}
}

function RefreshCaptchaImage(valImageId) {
	var objImage = document.images[valImageId];
	if (objImage == undefined) {
		return;
	}
	var now = new Date();
	objImage.src = objImage.src.split('?')[0] + '?x=' + now.toUTCString();
}
// -->