function verfuegbar() {
	var licker = "http://ad.zanox.com/ppc/?12795561C806086220&ULP=https://www.t-home.de/is-bin/INTERSHOP.enfinity/WFS/EKI-PK-Site/de_DE/-/EUR/ViewDSLQuickCheck-Process?xmlOnkz="+document.getElementById('xmlOnkz').value+"&xmlRufnr="+document.getElementById('xmlRufnr').value;
window.open(licker);
return false;
}

function CreateBookmarkLink() {
	title = 'Telekom Call, Surf, TV Angebote / T-Home Call & Surf, Entertain, Call';
	url = 'http://www.mobilehighlights.de/telekom/';
	
	if ($.browser.msie) { // IE
		window.external.AddFavorite(url, title);
	} else { // Firefox
		window.sidebar.addPanel(title, url,"");
	}
}


var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d) {

theyear=yr;
themonth=m;
theday=d

var today=new Date()
var todayy=today.getYear()

if (todayy < 1000)
	todayy+=1900

var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()

var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec

futurestring=montharray[m-1]+" "+d+", "+yr

dd=Date.parse(futurestring)-Date.parse(todaystring)

dday=Math.floor(dd/(60*60*1000*24)*1)

dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)

dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)

dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)

if(dday==0 && dhour==0 && dmin==0 && dsec==1) {
	
	$('.day').html("0");
	$('.std').html("0");
	$('.min').html("0");
	$('.sek').html("0");

return
} else {
	
	$('.day').html(dday);
	$('.std').html(dhour);
	$('.min').html(dmin);
	$('.sek').html(dsec);

	setTimeout("countdown(theyear,themonth,theday)", 1000)
}

}

function resizeIframe() {
    //var height = document.documentElement.clientHeight;
    //height -= document.getElementById('frame').offsetTop;
    
    // not sure how to get this dynamically
    //height -= 20; /* whatever you set your body bottom margin/padding to be */
    
    
  //  document.getElementById('frame').style.height = height +"px";
    
}; 
