var xmlHttp;
var xmlHttp2;
var xmlHttp3;
var specsHTML;
function setyurt(str)
{ 
	xmlHttp=GetXmlHttpObject();
	xmlHttp2=GetXmlHttpObject();
	xmlHttp3=GetXmlHttpObject();

	var url="";
	var url2="";
	var url3="";
	if (xmlHttp==null)
 	{
		 alert ("Browser does not support HTTP Request");
		 return;
 	}
	switch (str)
  	{
		case "12": { url="includes/yurts_12_specs.php"; url2="includes/yurts_12gal.php"; url3="includes/yurts_12.php"; break; }
		case "16": { url="includes/yurts_16_specs.php"; url2="includes/yurts_16gal.php"; url3="includes/yurts_16.php"; break; }
		case "19": { url="includes/yurts_19_specs.php"; url2="includes/yurts_19gal.php"; url3="includes/yurts_19.php"; break; }
		case "21": { url="includes/yurts_21_specs.php"; url2="includes/yurts_21gal.php"; url3="includes/yurts_21.php"; break; }
		case "27": { url="includes/yurts_27_specs.php"; url2="includes/yurts_27gal.php"; url3="includes/yurts_27.php"; break; }
		case "6k": { url="includes/yurts_long_dinner_specs.php"; url2="includes/yurts_long_dinnergal.php"; url3="includes/yurts_long_dinner.php"; break; }
		case "chillout": { url="includes/yurts_long_chillout_specs.php"; url2="includes/yurts_long_chilloutgal.php"; url3="includes/yurts_long_chillout.php"; break; }
		case "camp": { url="includes/yurts_other_camp_specs.php"; url2="includes/yurts_other_campgal.php"; url3="includes/yurts_other_camp.php"; break; }
		case "mongolian": { url="includes/yurts_other_mongolian_specs.php"; url2="includes/yurts_other_mongoliangal.php"; url3="includes/yurts_other_mongolian.php"; break; }
		case "squaregers": { url="includes/yurts_other_squaregers_specs.php"; url2="includes/yurts_other_squaregersgal.php"; url3="includes/yurts_other_squaregers.php"; break; }
	}

	xmlHttp.onreadystatechange=stateChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);

	xmlHttp2.onreadystatechange=stateChanged;
	xmlHttp2.open("GET",url2,true);
	xmlHttp2.send(null);

    xmlHttp3.onreadystatechange=stateChanged;
    xmlHttp3.open("GET", url3, true);
    xmlHttp3.send(null);
}

function stateChanged() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 {
	document.getElementById("ajaxcontent").innerHTML=xmlHttp.responseText;
	document.getElementById("content_two_right").innerHTML=xmlHttp2.responseText;
	document.getElementById("ajax_text").innerHTML=xmlHttp3.responseText;
    fb.tagAnchors(document);
 } 
}

function GetXmlHttpObject()
{
var xmlHttp=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;
}
