/*
	HTML GPS Utility
	$Revision: 1.9.2.9 $
*/
if( typeof com.adobe.htmltemplate == "undefined" ) com.adobe.htmltemplate = {
cssloaded:0,
featureTestReady: function()
{
return ($("test-css") && com.adobe.css);
},
loadCondAssets: function()
{
var head = document.getElementsByTagName('HEAD')[0]; 
if(!head) return;
var csspaths = new Array();
if(this.featureTestReady())
{
com.adobe.cssprofile.init();
for(var i=0,len=arguments.length;i<len;i++)
{
var arg = arguments[i];
switch(arg)
{
case "pod": 
csspaths.push("../pod.css");
if(com.adobe.cssprofile.features.iebox) csspaths.push("gps/pod_ie.css");
com.adobe.ui.register('pods');
break;
}
}
if(!com.adobe.cssprofile.features.after)
{
com.adobe.ui.register('markers');	
}	
}
if(!com.adobe.www.is && csspaths.length) 
{
var i = csspaths.length-1;
do 
{
csspaths[i] = "http://www.mediabop.com"+csspaths[i];
}
while (i--);
}
this.cssloaded = com.adobe.css.attachCssToDOM(csspaths,head);
return true;
}
};
