var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
if(rf){
function initADP(){bdf=0;
// *** Begin advanced user scripting area ***
   //Coverage
   //htmlstring="<iframe src=\"http://62.135.167.71/netmapweb_p/map.aspx\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=540 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("coverage",htmlstring,"Dækningskort CoolTEL på TDC's netværk");
   
   //installMobile
   //htmlstring="<iframe src=\"https://asp.mobilethink.net/tdc/wap/wizard.form\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("installMobile",htmlstring,"Installationer til din mobil");
   
   //mobileDocs
   //htmlstring="<iframe src=\"http://kundeservice.tdc.dk/privat/mobil/manual/\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("mobileDocs",htmlstring,"Manualer til din mobil");
   
   //nokiaSetup
   //htmlstring="<iframe src=\"https://nokiags.wdsglobal.com/standard?siteLanguageId=121\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("nokiaSetup",htmlstring,"Opsætning til din nokia mobil.");
   
   //mmsSetup 
   htmlstring="<iframe src=\"https://asp.mobilethink.net/sp/external/wizard.form\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   new adp("mmsSetup",htmlstring,"Opsætning til din mobil");
 
   //internationalPrices URL MANGLER
   //htmlstring="<iframe src=\"about:blank\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("internationalPrices",htmlstring,"Udlandspriser");

   //3GCoverage URL MANGLER
   //htmlstring="<iframe src=\"http://www.google.dk\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("3GCoverage",htmlstring,"3G dækning");

      //siemensSetup URL MANGLER
   //htmlstring="<iframe src=\"http://www.google.dk\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("siemensSetup",htmlstring,"Opsætning til din siemens mobil");   
   
   //3GInternationalCoverage URL mangler.
   //htmlstring="<iframe src=\"http://www.google.dk\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   //new adp("3GInternationalCoverage",htmlstring,"3G nettet i Udlandet");

   //internationalToDkPrices URL mangler.
   htmlstring="<iframe src=\"about:blank\" name=\"adpiframe\" id=\"adpiframe\" width=592 height=440 align=\"center\" Frameborder=\"0\" Scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" allowtransparency=\"true\"></iframe>"
   new adp("internationalToDkPrices",htmlstring,"Priser på opkald fra udlandet til Danmark");

   //Creating mask.
   new adpMask('adpMask');
   
// *** End advanced user scripting area ***
}
if(window.attachEvent){window.attachEvent('onload', initADP);}else{if(typeof window.onload == 'function'){var preADP = window.onload;window.onload = function(){preADP();initADP();}}else{window.onload = initADP;}}
}

function urlInstallMobile()
{
	// ?????
}

function urlCoverage() {
	adpShowMask('adpMask');
	adpShow('coverage');
}

function urlMobileDocs(){
	window.open('http://kundeservice.tdc.dk/privat/mobil/manual/','_blank');
}

function urlMmsSetup(){
	adpShowMask('adpMask');
	adpShow('mmsSetup');
}

function urlInternationalPrices(){
	adpShowMask('adpMask');
	adpShow('internationalPrices');
}

function urlNokiaSetup(){
	adpShowMask('adpMask');
	adpShow('mmsSetup');
}

function url3GCoverage(){
	adpShowMask('adpMask');
	adpShow('coverage');
}

function urlInternationalPrices(){
	window.open('http://privat.tdc.dk/telefoni/fastnet/priser/udlandspriser/','_blank');
}

function urlInternationalToDkPrices(){
	window.open('http://privat.tdc.dk/element.php?dogtag=f5_p_mob_udl_fu','_blank');
}

function url3GInternationalCoverage(){
	window.open('http://mobil.tdc.dk/output_erhverv/postpaid_roaming/world/world.htm','_blank');
}

function urlManuelWorkMobileSetup(){
	window.open('http://download.tdc.dk/pub/tdc/erhverv/mobilitet/opsaetning/qtek8020_smartphone_via_gprs_mms.pdf','_blank');
}
