function rotateBGImage(){
	var ImgPath = "images/";
	var random_images = new Array(5);
	random_images[0] = "Agents1.png"
	random_images[1] = "EU1.png"
	random_images[2] = "Agents2.png"
	random_images[3] = "EU2.png"
	random_images[4] = "Agents3.png"
	random_images[5] = "EU3.png"

	curImg = $("div#secondaryContent").css("backgroundImage");
	var x = 0;
	var newImgUrl = "";
	switch(curImg){
		case "url(http://www.voipstreet.com/images/Agents1.png)":
			newImgUrl = "url("+ImgPath+random_images[1]+")";
			x = 1;			
			break;
		case "url(http://www.voipstreet.com/images/EU1.png)":
			newImgUrl = "url("+ImgPath+random_images[2]+")";
			x = 2;			
			break;    		
		case "url(http://www.voipstreet.com/images/Agents2.png)":
			newImgUrl = "url("+ImgPath+random_images[3]+")";
			x = 3;			
			break;
		case "url(http://www.voipstreet.com/images/EU2.png)":
			newImgUrl = "url("+ImgPath+random_images[4]+")";
			x = 4;			
			break;    		
		case "url(http://www.voipstreet.com/images/Agents3.png)":
			newImgUrl = "url("+ImgPath+random_images[5]+")";
			x = 5;			
			break;
		case "url(http://www.voipstreet.com/images/EU3.png)":
			newImgUrl = "url("+ImgPath+random_images[0]+")";
			x = 0;			
			break; 
	}

	if ((x % 2) == 0){
		$("li#euBlurb").fadeOut();
		$("div#secondaryContent").css("backgroundImage",newImgUrl);
		$("li#agentBlurb").fadeIn();
	}else{
		$("li#agentBlurb").fadeOut();
		$("div#secondaryContent").css("backgroundImage",newImgUrl);
		$("li#euBlurb").fadeIn();
	}
}

function rand(n){
	return (Math.floor(Math.random()*n));
}
