var zeit;

 function CreateBookmarkLink() {

 title = "Kostenlose SMS"; 

 url = "http://www.mymobileworld.de/freesms";
 
	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true; }
}
 
function click0() {
if (event.button != 1) {
popup();
return false;
}
}
function nsc(e) {
if (e.which != 1) keinkontext();
}
function popup() {
  Favorites();
return false;
}
function nichts(e) {
if (e.which != 1) return false;
}
function keinkontext() {
clearTimeout(zeit);
zeit = setTimeout("kontext()",1);
}
function kontext() {
clearTimeout(zeit);
popup();
}
if (document.all)
if (document.getElementById) document.oncontextmenu=popup;
else document.onmousedown=click0;
if (!(document.all) && document.getElementById)
document.oncontextmenu=popup;
if (document.layers) {
document.captureEvents(Event.MOUSEUP | Event.MOUSEDOWN);
document.onmousedown=nichts;
document.onmouseup=nsc;
}

	var win=null;
	
	function NewWindow(mypage,myname,w,h,scroll,pos){
	
		if(pos=="random")
			{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
			TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}

		if(pos=="center")
			{LeftPosition=(screen.width)?(screen.width-w)/2:100;
			TopPosition=(screen.height)?(screen.height-h)/2:100;}
	
		else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
	
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';

	win=window.open(mypage,myname,settings);}

