function fullscreen(){var a=document.getElementsByTagName("a");for(var i=0;i<a.length;i++){if(a[i].className.match("noeffect")){}else{a[i].onclick=function(){window.location=this.getAttribute("href");return false}}}}function hideURLbar(){window.scrollTo(0,0.9)}window.onload=function(){fullscreen();hideURLbar()};

function partners(intWhich){
	if(intWhich==0){
	window.location.href = 'http://www.calculate-body-fat.com/body-fat-calculator.html';
	}
	if(intWhich==1){
	window.location.href = 'http://www.calculator-calorie.com/';
	}
	if(intWhich==2){
	window.location.href = 'http://www.waisttohip.com/';
	}
	if(intWhich==3){
	window.location.href = 'http://www.caloriecounter1.com/apps/fiber-intake/';
	}
	if(intWhich==4){
	window.location.href = 'http://www.caloriecounter1.com/apps/stroke-risk/';
	}	
	if(intWhich==5){
	window.location.href = 'http://www.caloriecounter1.com/apps/heart-attack-risk/';
	}		
	if(intWhich==6){
	window.location.href = 'http://www.caloriecounter1.com/';
	}		
	if(intWhich==7){
	window.location.href = 'http://www.caloriecounter1.com/apps/carbs-intake/';
	}		
	if(intWhich==8){
	window.location.href = 'http://www.caloriecounter1.com/calories-burned.php';
	}		
}
