function mailad(domain, name ) {
	document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
	document.write(name + '@' + domain + '</a>');
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function plz_check(textfeld, checkbox)
{
	if(this.value != '1') a.checked = true;
	
}
function plzchecker()
{
	document.getElementById('plz').value = document.getElementById('plz').value.replace(/[^\d]*/gi,'');
	if(document.getElementById('plz').value.length == 5)
	{
		document.getElementById('a').checked = true;
		document.getElementById('vplz').src = '../img/f_ok.gif';
		document.getElementById('umkreis').style.visibility = "visible";
	}
	else
	{
		document.getElementById('a').checked = false;
		document.getElementById('vplz').src = '../img/f_nok.gif';
		document.getElementById('umkreis').style.visibility = "hidden";
	}
}
function EMail(s)
{
 var a = false;
 var res = false;
 if(typeof(RegExp) == 'function')
 {
  var b = new RegExp('abc');
  if(b.test('abc') == true){a = true;}
  }

 if(a == true)
 {
  reg = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)'+
                   '(\\@)([a-zA-Z0-9\\-\\.]+)'+
                   '(\\.)([a-zA-Z]{2,4})$');
  res = (reg.test(s));
 }
 else
 {
  res = (s.search('@') >= 1 &&
         s.lastIndexOf('.') > s.search('@') &&
         s.lastIndexOf('.') >= s.length-5)
 }
 return(res);
}
function makeRequest(xml) {
    var url= xml;
    http_request = false;
    if (window.XMLHttpRequest) { // Mozilla, Safari, IE7...
        http_request = new XMLHttpRequest();
    } else if (window.ActiveXObject) { // IE
            http_request = new ActiveXObject("Microsoft.XMLHTTP");
    }

    if (!http_request) {
        alert('Giving up :( Cannot create an XMLHTTP instance');
        return false;
    }
    http_request.onreadystatechange = alertContents;
    http_request.open('GET', url, true);
    http_request.send(null);

}
var http_request = false;
var POSTappname = false;
function makePOSTRequest(url, parameters, appevent) {
  http_request = false;
  POSTappname = appevent;
  if (window.XMLHttpRequest) { //Mozilla
	 http_request = new XMLHttpRequest();
	 if (http_request.overrideMimeType) {
		http_request.overrideMimeType('text/html');
	 }
  } else if (window.ActiveXObject) { // IE
	 try {
		http_request = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
		try {
		   http_request = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (e) {}
	 }
  }
  if (!http_request) {
	 alert('Cannot create XMLHTTP instance');
	 return false;
  }
  http_request.onreadystatechange = alertContentsPOST;
  http_request.open('POST', url, true);
  http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  http_request.setRequestHeader("Content-length", parameters.length);
  http_request.setRequestHeader("Connection", "close");
  http_request.send(parameters);
}
function alertContentsPOST() {
  if (http_request.readyState == 4) {
	 if (http_request.status == 200) {
		switch (POSTappname) {
			case "prc_feedback":
				if(http_request.responseText==1)
				{
					alert("Thanks for sending us your feedback!");
				}
			break;
			
			case "loadprc":
				document.getElementById('iframebest').style.display = 'inline';
				document.getElementById('iframebest').innerHTML = http_request.responseText;
				javascript:document.getElementById('bestclick').style.display = 'none';
				prcrows();
			break;
			
			case "prc_reviews":
				document.getElementById(reviewid).innerHTML = http_request.responseText;
			break;
		}         
	 } else {
		//alert('There was a problem with the request.');
	 }
  }
}
sliders = new Array();
function slider_init(sdiv, speed, minfu, rightlimit, bottomlimit)
{
	sliders[sdiv] = new Array();
	sliders[sdiv]['rightlimit'] = rightlimit;
	sliders[sdiv]['bottomlimit'] = bottomlimit;
	if (navigator.appName == "Microsoft Internet Explorer")
		sliders[sdiv]['speed'] = speed * 2;
	else
		sliders[sdiv]['speed'] = speed;
	sliders[sdiv]['minfu'] = minfu - 6;
	sliders[sdiv]['o'] = document.getElementById(sdiv);
}
// way
// 1 UP y
// 2 RIGHT x
// 3 DOWN x
// 4 LEFT y
function slider_slide(sdiv, way)
{
	if(sliders[sdiv]['inaction'] != true)
	{
		gsdiv = sdiv;
		if(     way==1 && parseInt(sliders[sdiv]['o'].style.top) < 0) {
			sliders[sdiv]['inaction'] = true;
			slider_s(way, parseInt(sliders[sdiv]['o'].style.top) + sliders[sdiv]['minfu']);
		}
		else if(way==2 && parseInt(sliders[sdiv]['o'].style.left) > sliders[sdiv]['rightlimit']) {
			sliders[sdiv]['inaction'] = true;
			slider_s(way, parseInt(sliders[sdiv]['o'].style.left) - sliders[sdiv]['minfu']);
		}
		else if(way==3 && parseInt(sliders[sdiv]['o'].style.top) > sliders[sdiv]['bottomlimit']) {
			sliders[sdiv]['inaction'] = true;
			slider_s(way, parseInt(sliders[sdiv]['o'].style.top) - sliders[sdiv]['minfu']);
		}
		else if(way==4 && parseInt(sliders[sdiv]['o'].style.left) < 0) {
			sliders[sdiv]['inaction'] = true;
			slider_s(way, parseInt(sliders[sdiv]['o'].style.left) + sliders[sdiv]['minfu']);
		}
	}
}
function slider_moveto(sdiv, x, y)
{
	sliders[sdiv]['o'].style.left = x;
	sliders[sdiv]['o'].style.top = y;
}
function addlog(txt)
{
	if(0)
	{
	time = new Date( );
	document.getElementById('showlog').innerHTML += time.getUTCSeconds( );
	document.getElementById('showlog').innerHTML += ',';
	document.getElementById('showlog').innerHTML += time.getUTCMilliseconds( );
	document.getElementById('showlog').innerHTML += ' > ' + txt + '<br>';
	}
	return true;
}
function slider_s(way, limit)
{
	if(way == 1 || way == 3)
	{
		sliders[gsdiv]['dis'] = sliders[gsdiv]['o'].style.top;
		if(way == 1)
		{
			addlog('start slider_s function, way ' + way + ', limit ' + limit + ', parseintstyle ' + sliders[gsdiv]['dis']);
			if(parseInt(sliders[gsdiv]['dis']) < limit)
			{
				if ((limit - parseInt(sliders[gsdiv]['dis'])) < sliders[gsdiv]['speed'])
					plus = (limit - parseInt(sliders[gsdiv]['dis']));
				else
					plus = sliders[gsdiv]['speed'];
				sliders[gsdiv]['o'].style.top = parseInt(sliders[gsdiv]['dis']) + plus + "px";
				setTimeout("slider_s(" + way + ", " + limit +  ")",50);
			}
			else
			{
				sliders[gsdiv]['inaction'] = false;
				sliders[gsdiv]['o'].style.top = parseInt(sliders[gsdiv]['dis']) + 3 + "px";
				setTimeout('sliders[gsdiv]["o"].style.top = parseInt(sliders[gsdiv]["o"].style.top) + 2 + "px"',80);
				setTimeout('sliders[gsdiv]["o"].style.top = parseInt(sliders[gsdiv]["o"].style.top)  + 1 + "px"',5);
			}
		}
		else if(way == 3)
		{
			addlog('start slider_s function, way ' + way + ', limit ' + limit + ', parseintstyle ' + sliders[gsdiv]['dis']);
			if(parseInt(sliders[gsdiv]['dis']) > limit)
			{
				if ((parseInt(sliders[gsdiv]['dis']) - limit ) < sliders[gsdiv]['speed'])
					plus = (parseInt(sliders[gsdiv]['dis'])-limit);
				else
					plus = sliders[gsdiv]['speed'];
				sliders[gsdiv]['o'].style.top = parseInt(sliders[gsdiv]['dis']) - plus + "px";
				setTimeout("slider_s(" + way + ", " + limit +  ")",50);
			}
			else
			{
				sliders[gsdiv]['inaction'] = false;
				sliders[gsdiv]['o'].style.top = parseInt(sliders[gsdiv]['dis']) - 3 + "px";
				setTimeout('sliders[gsdiv]["o"].style.top = parseInt(sliders[gsdiv]["o"].style.top) - 2 + "px"',80);
				setTimeout('sliders[gsdiv]["o"].style.top = parseInt(sliders[gsdiv]["o"].style.top)  - 1 + "px"',5);
			}
		}
	}
	else
	{
	if(way == 2 || way == 3) var mal = 1;
	else if(way == 4 || way == 1) var mal = -1;
	if(way == 3 || way == 1)
		sliders[gsdiv]['dis'] = sliders[gsdiv]['o'].style.top;
	else if(way == 2 || way == 4)
		sliders[gsdiv]['dis'] = sliders[gsdiv]['o'].style.left;
		
	addlog('start slider_s function, way ' + way + ', limit ' + limit + ', parseintstyle ' + sliders[gsdiv]['dis']);
	if(     (parseInt(sliders[gsdiv]['dis']) > limit && (way==2 || way==3))    ||    (parseInt(sliders[gsdiv]['dis']) < limit && (way==4 || way==1))     )
	{
		addlog('first if');
		if( (limit - parseInt(sliders[gsdiv]['dis'])) < sliders[gsdiv]['speed'] && way==4)
			plus = (limit - parseInt(sliders[gsdiv]['dis']));
		else if ((parseInt(sliders[gsdiv]['dis']) - limit) < sliders[gsdiv]['speed'] && way==2)
			plus = (parseInt(sliders[gsdiv]['dis']) - limit);
		else if (((limit - parseInt(sliders[gsdiv]['dis'])) < sliders[gsdiv]['speed'] && way==3))
			plus = (limit-parseInt(sliders[gsdiv]['dis']));
		else if((parseInt(sliders[gsdiv]['dis']) - limit) < sliders[gsdiv]['speed'] && way==1)
			plus = (limit - parseInt(sliders[gsdiv]['dis']));
		else
			plus = sliders[gsdiv]['speed'];
		if(way == 3 || way == 1)
			sliders[gsdiv]['o'].style.top = parseInt(sliders[gsdiv]['dis']) - (plus * mal) + "px";
		else if(way == 2 || way == 4)
			sliders[gsdiv]['o'].style.left = parseInt(sliders[gsdiv]['dis']) - (plus * mal) + "px";
		setTimeout("slider_s(" + way + ", " + limit +  ")",50);
	}
	else
	{
		addlog('second if ' + mal);
		sliders[gsdiv]['inaction'] = false;
		if(way == 3 || way == 1)
		{
			sliders[gsdiv]['o'].style.top = parseInt(sliders[gsdiv]['dis']) - (mal * 3) + "px";
			setTimeout('sliders[gsdiv]["o"].style.top = parseInt(sliders[gsdiv]["o"].style.top) - (' + (mal * 2)+ ') + "px"',80);
			setTimeout('sliders[gsdiv]["o"].style.top = parseInt(sliders[gsdiv]["o"].style.top) - (' + (mal * 1)+ ') + "px"',5);
		}
		else if(way == 2 || way == 4)
		{
			sliders[gsdiv]['o'].style.left = parseInt(sliders[gsdiv]['dis']) - (3 * mal) + "px";
			setTimeout('sliders[gsdiv]["o"].style.left = parseInt(sliders[gsdiv]["o"].style.left) - (' + (mal * 2)+ ') + "px"',80);
			setTimeout('sliders[gsdiv]["o"].style.left = parseInt(sliders[gsdiv]["o"].style.left) - (' + (mal * 1)+ ') + "px"',5);
		}
	}
	}
}
function snv(nr, anz)
{
	if(typeof( window[ 'snv_reiter_aktuell' ] ) == "undefined") snv_reiter_aktuell = 1;
	if(nr != snv_reiter_aktuell)
	{
		
		document.getElementById('snv'+nr).className = "snvein";
		document.getElementById('snv'+snv_reiter_aktuell).className = "snvaus";
		snv_reiter_aktuell = nr; 
		slider_moveto("move_div", 0,0);
				document.getElementById('move_div').innerHTML = '<table id="intable" cellpadding="0" cellspacing="0" border="0"><tr><td>Loading...</td><td>Loading...</td><td>Loading...</td></tr></table>';
		makeRequest('snv_neu.php?anz=' + anz + '&id='+nr);
	}
}
var reviewid = '';
var loadreviews = new Array();
function prc_show(n, aid)
{
	n = n + "";
	if(document.getElementById('prch' + n).className == 'prc_heading1')
	{
		document.getElementById('prch' + n).className = 'prc_heading0';
		document.getElementById('prcc' + n).className = 'prc_content0';
	}
	else
	{
		document.getElementById('prch' + n).className = 'prc_heading1';
		document.getElementById('prcc' + n).className = 'prc_content1';
	}
	if(loadreviews[n] !== true && aid != false)
	{
		loadreviews[n] = true;
		reviewid = 'prcc' + n;
		makePOSTRequest("../ver/prc_reviews.html?id="+aid, "", "prc_reviews");
	}
}
function show_loader()
{
	document.getElementById('loader_window').innerHTML = '<div style="width: 567px;" align="center"><div style="border: 1px solid white; padding-bottom: 20px; padding-top:20px; padding-right:40px; padding-left:40px; background-color:#C9DDF0; width: 300px; "><div><div style="padding-bottom:10px; "><img src="/img/load.gif" width="40" height="40" alt=""></div><div style="font-size:18px; padding-bottom:20px;"><strong>Comparing Prices...</strong></div><div><img src="/img/load_logo.gif" width="78" height="19" alt=""></div></div></div></div><table width="100%" style="height:100% "  border="0" cellspacing="0" cellpadding="0"><tr><td valign="middle" align="center">&nbsp;</td></tr></table>';
	document.getElementById('loader_window').style.visibility = 'visible';
	document.getElementById('loader_window').style.display = 'inline';
	document.getElementById('loader_window').style.top = get_verticalscroll();
}
function stwc_counter(counterpfad, bezeichnung, sperre){

var aufloesung = '';
var farbtiefe = '';
var referer = '';
var pfad = '';
var java = '';
var cookies = '';
var seitentitel = '';
var rnd = Math.random()*99999;
var innen_aufloesung = '';

if(self.innerHeight){// all except Explorer
innen_aufloesung = self.innerWidth + "x" + self.innerHeight;
}
else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
innen_aufloesung = document.documentElement.clientWidth + "x" + document.documentElement.clientHeight;
}
else if(document.body){ // other Explorers
innen_aufloesung = document.body.clientWidth + "x" + document.body.clientHeight;
}

if(sperre == "sperre"){
var sperre_zusatz = "&sperre=x";
}
else{
var sperre_zusatz = "";
}

aufloesung = screen.width+'x'+screen.height;
referer = "" + escape(top.document.referrer);
farbtiefe = screen.colorDepth;
pfad = escape(location.href);
java = navigator.javaEnabled();
cookies = navigator.cookieEnabled;
seitentitel = bezeichnung;
seitentitel = escape(seitentitel);

var obj = new Object();
for (var i = 0, name, plugin; i < navigator.plugins.length; i++) {
   plugin = navigator.plugins[i];
   name = navigator.plugins[i].name;
   obj[name] = plugin;
}

var plugin2 = '';
for (var name in obj) {
plugin = obj[name];
plugin2 = plugin2 + plugin.name + '|';
}

var jetzt = new Date();
var Unterschied = jetzt.getTimezoneOffset() / 60;
var Stunde = jetzt.getHours();

document.write("<img height=0 width=0 src='" + counterpfad + "&ortszeit=" + Stunde + "&aflsg=" + aufloesung + "&innen_aufloesung=" + innen_aufloesung + "&referer=" + referer + "&farbtiefe=" + farbtiefe + "&js=yes&java=" + java + "&plugins=" + plugin2 + "&seitentitel=" + seitentitel + "&cookies=" + cookies + "&zzone=" + Unterschied + sperre_zusatz + "&pfad=" + pfad + "&rnd=" + rnd + "'>");

}
function findTopPos(obj) {
	var curleft = curtop = 0;
	if (obj.offsetParent) {
	do {
		curleft += obj.offsetLeft;
		curtop += obj.offsetTop;
	} while (obj = obj.offsetParent);
	}
	return curtop;
}
function get_verticalscroll()
{
  if( window.pageYOffset )
    return window.pageYOffset;
  else if ( ( document.documentElement ) && ( document.documentElement.scrollTop ) )
    return document.documentElement.scrollTop;
  else if ( ( document.body ) && ( document.body.scrollTop ) )
    return document.body.scrollTop;
  else
    return 0;
}

scrolltime = 175;
lastscrolled = 0;
currentid = 0;
function scroll(max, top, obj)
{
	var currentTime = new Date()
	lastscrolled = currentTime.getTime();
	setTimeout("checkScrollStop("+max+","+top+",'"+obj+"')", scrolltime);
}

function checkScrollStop(max, top, obj)
{
	var currentTime = new Date()
	if((currentTime.getTime() - lastscrolled + 20) > scrolltime)
	{
			vert = get_verticalscroll();
			downlimit = findTopPos(document.getElementById('foot'));
			if(downlimit > (vert + 630))
			{
				if(vert > max) 
					pos = (vert + top);
				else
					pos = (top + max);
			}
			else
			{
				pos = downlimit - 630;
			}
			currentid++;
			pre = parseInt(document.getElementById(obj).style.top);
			if(pos > pre) //down
				scrollSlide(1, (pos-6), obj, currentid);
			else if(pos < pre) //up
				scrollSlide(-1, (pos+6), obj, currentid);
	}
}
function scrollSlide(way, pos, obj, id)
{
	if(currentid == id)
	{
		var speed = 15;
		if (navigator.appName == "Microsoft Internet Explorer"  || (navigator.userAgent).indexOf("Opera") != -1)
			speed = speed * 2;
		pre = parseInt(document.getElementById(obj).style.top);
		if((pre < pos && way == 1) || (pre > pos && way == -1))
		{
			if ((pos - pre) < speed && way == 1)
				plus = (pos - pre);
			else if ((pre - pos) < speed && way == -1)
				plus = (pre - pos);
			else
				plus = speed;
			document.getElementById(obj).style.top = (pre + (plus * way)) + "px";
			setTimeout("scrollSlide(" + way + ", " + pos + ", '" + obj + "', " + id + ")",15);
		}
		else
		{
			document.getElementById(obj).style.top = parseInt(document.getElementById(obj).style.top) + (way * 3) + "px";
			setTimeout('document.getElementById("'+obj+'").style.top = parseInt(document.getElementById("'+obj+'").style.top) + (2 * '+way+') + "px"',40);
			setTimeout('document.getElementById("'+obj+'").style.top = parseInt(document.getElementById("'+obj+'").style.top) + (1 * '+way+') + "px"',45);
		}
	}
}
function changeformat(slobj, val, newPos){
	document.getElementById("ff-"+slobj.id).innerHTML = document.getElementById('s_'+slobj.muster).options[val].text;
	//alert(document.getElementById('s_'+slobj.muster).options[val].value);
	document.getElementById("ih-"+slobj.id).value = document.getElementById('s_'+slobj.muster).options[val].value; //
	document.getElementById("si-"+slobj.id).value = val;
	if(val > 9 && slobj.muster == 'foto')
	{
		document.getElementById('fm-'+slobj.id).style.visibility = 'hidden';
		document.getElementById('fm-'+slobj.id).style.display = "none";
	}
	else if(slobj.muster == 'foto')
	{
		document.getElementById('fm-'+slobj.id).style.display = "inline";
		document.getElementById('fm-'+slobj.id).style.visibility = 'visible';
	}
}
function addrow(nr, muster) {
	counter++;
	var nid = "z" + counter;
	var ers = document.getElementById("m_" + muster).innerHTML;
	var neudiv = document.createElement("div");
	ers = ers.replace(new RegExp("QiQ","g"), objcounter);
	ers = ers.replace(new RegExp("QidQ","g"), nid);
	neudiv.innerHTML = ers;
	neudiv.id = nid;
	document.getElementById("l_" + muster).appendChild(neudiv);
	if(muster != "geschenk")
	{
		objcounter++;
		S[nid] = new ai();
		S[nid].id = nid;
		S[nid].muster = muster;
		S[nid].bx(changeformat);
		S[nid].height        = 23;
		S[nid].V        = '../img/';
		S[nid].cy('knop.gif', 10, 23);
		S[nid].cv('sl.gif', 14, 12);
		S[nid].cw('sr.gif', 14, 12);
		if(muster == 'buch') S[nid].width         = 44;
		else S[nid].width         = 59;
		S[nid].o       = 0;
		S[nid].Z        = document.getElementById('s_' + muster).length - 1;
		S[nid].bG('sl-'+nid);
		S[nid].cz(nr);
		changeformat(S[nid], nr, 0);
	}
	else
	{
		document.getElementById("ss-"+nid).value = nr;
	}
}
function showwerbung() {
setTimeout("document.getElementById('wlr').style.visibility = 'visible';",1500);
}

function alertContents() {
    if (http_request.readyState == 4) {
        if (http_request.status == 200) {
            var xmldoc = http_request.responseXML;
	    	var root_abfrage = xmldoc.getElementsByTagName('abfrage').item(0);
			switch (root_abfrage.firstChild.data) {
			  case "plist":
				var root_plist = xmldoc.getElementsByTagName('plist').item(0);
				var root_id = xmldoc.getElementsByTagName('id').item(0);
				var root_neueanzahl = xmldoc.getElementsByTagName('neueanzahl').item(0);
				var root_plurale = xmldoc.getElementsByTagName('plurale').item(0);
		
				if(root_plist.firstChild.data == "0") 
				{
					document.getElementById('list_1_' +  root_id.firstChild.data).style.display = "inline";
					document.getElementById('list_0_' +  root_id.firstChild.data).style.display = "none";
				}
				else if(root_plist.firstChild.data == "1")
				{
					document.getElementById('list_0_' +  root_id.firstChild.data).style.display = "inline";
					document.getElementById('list_1_' +  root_id.firstChild.data).style.display = "none";
				}
				document.getElementById('anz_pliste').firstChild.data = root_neueanzahl.firstChild.data;
				document.getElementById('plurale').firstChild.data = root_plurale.firstChild.data;
				break;

			  case "sendprcom":
					var root_sent = xmldoc.getElementsByTagName('sent').item(0).firstChild.data;
					if(root_sent == 1)
					{
						alert("Thank you very much! The price comparison results have been sent to your email address.");
					}
					else if(root_sent == 0)
					{
						alert("An error occured while trying to send a message to your email address. Please try again later.");
					}
					else if(root_sent == 2)
					{
						alert("Please try again later.");
					}
			  break;				
				case "snv":
					var neue_td = xmldoc.getElementsByTagName('content').item(0);
					var snvstr = neue_td.firstChild.data;
					snvstr = snvstr.replace(/QQ/g, '<');
					snvstr = snvstr.replace(/Euro/g, '€');
					snvstr = snvstr.replace(/Pound/g, '&pound;');
					document.getElementById('move_div').innerHTML = '<table id="intable" class="ttt" cellpadding="0" cellspacing="0" border="0"><tr>' + snvstr + '</tr></table>';
					
				break;
			}

		
	    
        } else {
            //alert('There was a problem with the request.');
        }
    }

}
function dvload()
{
    var ar = new Array();
	var arguments = new Array('/img/de1b.gif','/img/de2b.gif','/img/de3b.gif','/img/de4b.gif','/img/de5b.gif','/img/de6b.gif', '/img/de7b.gif', '/img/load.gif', '/img/load_logo.gif');
    for (var i=0; i<arguments.length; i++) {
        ar[i] = new Image();
        ar[i].src = arguments[i];
    }
	
	document.getElementById('sbm').innerHTML = '<a href="http://del.icio.us/" rel="nofollow" onclick="window.open(\'http://del.icio.us/post?v=2&url=\'+encodeURIComponent(location.href)+\'&notes=&tags=&title=\'+encodeURIComponent(document.title));return false;"><img src="/img/socialbookmarking/delicious.gif" alt="Bookmark bei: Del.icio.us" border="0"></a>&nbsp; <a href="http://www.mister-wong.de/" rel="nofollow" onclick="window.open(\'http://www.mister-wong.de/index.php?action=addurl&bm_url=\'+encodeURIComponent(location.href)+\'&bm_notice=&bm_description=\'+encodeURIComponent(document.title)+\'&bm_tags=\');return false;"><img src="/img/socialbookmarking/mrwong.gif" alt="Bookmark bei: Mister Wong" border="0"></a> &nbsp; <a href="http://www.google.com/" rel="nofollow" onclick="window.open(\'http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk=\'+encodeURIComponent(location.href)+\'&annotation=&labels=&title=\'+encodeURIComponent(document.title));return false;"><img src="/img/socialbookmarking/google.gif" alt="Bookmark bei: Google" border="0"></a>&nbsp; <a href="http://www.technorati.com/" rel="nofollow" onclick="window.open(\'http://technorati.com/faves?add=\'+encodeURIComponent(location.href)+\'&tag=\');return false;"><img src="/img/socialbookmarking/technorati.gif" alt="Bookmark bei: Technorati" border="0"></a> &nbsp; <a href="http://www.yahoo.de/" rel="nofollow" onclick="window.open(\'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=\'+encodeURIComponent(location.href)+\'&t=\'+encodeURIComponent(document.title));return false;"><img src="/img/socialbookmarking/yahoo.gif" alt="Bookmark bei: Yahoo!" border="0"></a>&nbsp; <a href="http://www.digg.com/" rel="nofollow" onclick="window.open(\'http://digg.com/submit?phase=2&url=\'+encodeURIComponent(location.href)+\'&title=\'+encodeURIComponent(document.title));return false;"><img src="/img/socialbookmarking/digg.gif" alt="Bookmark bei: Digg" border="0"></a> &nbsp; <a href="http://www.linkarena.com/" rel="nofollow" onclick="window.open(\'http://linkarena.com/bookmarks/addlink/?url=\'+encodeURIComponent(location.href)+\'&title=\'+encodeURIComponent(document.title)+\'&desc=&tags=\');return false;" title="Bookmark bei: Linkarena"><img src="/img/socialbookmarking/linkarena.gif" alt="Bookmark bei: Linkarena" border="0"></a> &nbsp; <a href="http://www.webnews.de/" rel="nofollow" onclick="window.open(\'http://www.webnews.de/einstellen?url=\'+encodeURIComponent(document.location)+\'&title=\'+encodeURIComponent(document.title));return false;"><img src="/img/socialbookmarking/webnews.gif" alt="Bookmark bei: Webnews" border="0"></a>&nbsp; <a href="http://yigg.de/" rel="nofollow" onclick="window.open(\'http://yigg.de/neu?exturl=\'+encodeURIComponent(location.href));return false;"><img src="/img/socialbookmarking/yigg.gif" alt="Bookmark bei: Yigg" border="0"></a>';
}
function delframe()
{	
	document.getElementById('f_lc').style.visibility = 'hidden';
	document.getElementById('f_lc').style.display = 'none';
	document.getElementById('f_footer').style.visibility = 'hidden';
	document.getElementById('f_footer').style.display = 'none';
	document.getElementById('f_body').style.margin = '0px';
	document.getElementById('f_w').style.width = '566px';
}

var pop = null;
function popdown() {
  if (pop && !pop.closed) pop.close();
}

function popup(obj,w,h) {
  var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;
  if (!url) return true;
  w = (w) ? w += 20 : 150;  // 150px*150px is the default size
  h = (h) ? h += 25 : 150;
  var args = 'width='+w+',height='+h+',resizable,scrollbars=yes';
  popdown();
  pop = window.open(url,'',args);
  return (pop) ? false : true;
}
