// JavaScript Document


function SetMenu(d) {
	document.getElementById('im1').src ="/images/arrow_right_blue.gif"
	document.getElementById('im2').src ="/images/arrow_right_blue.gif"
	document.getElementById('im3').src ="/images/arrow_right_blue.gif"
	document.getElementById('im4').src ="/images/arrow_right_blue.gif"
	document.getElementById('m1').style.display = "none";
	document.getElementById('m2').style.display = "none";
	document.getElementById('m3').style.display = "none";
	document.getElementById('m4').style.display = "none";
	document.getElementById(d).style.color="#0099CC";
}
function ShowContent(d) {
	if(d.length < 1) { return; }
	document.getElementById('m1').style.display = "none";
	document.getElementById('m2').style.display = "none";
	document.getElementById('m3').style.display = "none";
	document.getElementById('m4').style.display = "none";
	document.getElementById(d).style.display = "block";
}
function mouseOver(e)
{
document.getElementById(e).src ="/images/arrow_down_blue.gif"
}
function mouseOut(e)
{
document.getElementById(e).src ="/images/arrow_right_blue.gif"
}
function ShowInline(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "inline";
}
function goto() {
var currNum = Math.random()*10;
    currNum = Math.floor(currNum);

	switch(currNum)
	{
	
	case 0:
		window.location="http://www.catanich.com/local-search-marketing.asp?track=125";
	  	break;
	case 1:
		window.location="http://www.catanich.com/internet-marketing-research.asp?track=114";
	  	break;    
	case 2:
		window.location="http://www.catanich.com/internet-marketing-advertising.asp?track=115";
	  break;
	case 3:
		window.location="http://www.catanich.com/search-engine-optimization.asp?track=116";
	  break;
	case 4:
		window.location="http://www.catanich.com/internet-marketing-analytics.asp?track=117";
	  break;
	case 5:
		window.location="http://www.catanich.com/internet-marketing-services.asp?track=118";
	  break;
	case 6:
		window.location="http://www.catanich.com/about-us.asp?track=119";
	  break;
	case 7:
		window.location="http://www.catanich.com/contact-us.asp?track=120";
	  break;
	case 8:
		window.location="http://www.catanich.com/dallas-internet-marketing.asp?track=121";
	  break;
	case 9:
		window.location="http://www.catanich.com/search-engine-optimization-services.asp?track=122";
	  break;
	case 10:
		window.location="http://www.catanich.com/local-search-marketing.asp?track=124";
	  break;
	}
}
function HideInline(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "none";
}
