<!--

	function changeTop(to, men, con) 
	{
		top.frames.top_frame.location.href = to
		top.frames.menu_frame.location.href = men
		top.frames.content_frame.location.href = con
	}
	
	function changeMenu(cont, men) 
	{
		parent.frames.content_frame.location.href = cont
		parent.frames.menu_frame.location.href = men
	}

	function getHelp(opt,sid,topic,add)
	{
		PopUp('help.asp?popup=1&sid='+sid+'&topic='+topic+add,'help',477,400,'auto')
	}
	
	function RefreshTop (sid)
	{
		parent.frames.top_frame.location.href = 'top.asp?sid='+sid+'&m1=1';
		parent.frames.teaser_frame.location.href = 'teaser.asp?sid='+sid;
	}

	function RefreshAll (sid,m1,m2)
	{
		parent.frames.top_frame.location.href = 'top.asp?sid='+sid+'&m1='+m1;
		parent.frames.teaser_frame.location.href = 'teaser.asp?sid='+sid;
		parent.frames.menu_frame.location.href = 'menu.asp?sid='+sid+'&m1='+m1+'&m2='+m2;
		//top.frames.menu_frame.location.href;
		if (m1 == '') 
		{
			parent.frames.content_frame.location.href = top.frames.content_frame.location.href;
		}
	}

	function PopUp_noscroll(link,titel)
	{
		window.open(link,titel,"width=700,height=500,toolbar=no,menubar=no,resizable=no");
	
	}
	
	function PopUp(link,titel,breite,hoehe,scroll)
	{
		win=window.open(link,titel,"width="+breite+",height="+hoehe+",toolbar=no,menubar=no,scrollbars="+scroll+",resizable=no");
		win.focus();
	
	}
	
	// Dient zum Highlight vom Go-Button !
	var ok=0;if((parseInt(navigator.appVersion)>3)||((parseInt(navigator.appVersion)==3)&&(navigator.appName=="Netscape"))){ok=1;}
		
		if (ok==1){
			cacheImg = new Array();
			cacheImg[0] = new Image();
			cacheImg[0].src = "art/button_hi.gif";
		}
		function change(name, newpic){if(ok==1){this.document[name].src=newpic;}}
	
	// zum verlinken aus einem popup in das Hauptfenster
	function referrer(url,frame_name)	{
		parent.opener.parent.frames[frame_name].location.href=url
		parent.close()
	}
	
	// wenn Warenkorb gelöscht, wenn mitten im Bestellvorgang
	function deshop()	{
		if(parent.content_frame.content)	{ 
			if((parent.content_frame.content.location.href.indexOf('auschecken.asp') != -1)||(parent.content_frame.content.location.href.indexOf('bestellung.asp') != -1))	{
				parent.content_frame.content.location.href = 'shop/home.asp';
			}
		}
	}
	
	
	var theWindow = 0;
	// ------------------------------------------------------------------------------------------------
	function showpopup(url,width,height)
	{
	  if(theWindow == 0)
	  {
	    theWindow = window.open(url,"newWindow","status=no,toolbar=no,location=no,menu=no,resizeable=no,scrollbars=yes,width=" + width + ",height=" + height + "");
	    theWindow.focus();
	  }
	  else
	  {
	    if(theWindow);
	    {
	      theWindow = 0;
	      theWindow = window.open(url,"newWindow","status=no,toolbar=no,location=no,menu=no,resizeable=no,scrollbars=yes,width=" + width + ",height=" + height + "");
	      theWindow.focus();
	
	    }
	  }
	}
	
	function DelUploadAssignment(del_id)
	{
		win=window.open('/tee-online.de/_admin/uploadtool/del_upload_assignment.asp?id=' + del_id,'dua',"width=350,height=180,toolbar=no,menubar=no,scrollbars=yes,resizable=no");
		win.focus();
	}
	
	function SelectUploadAssignment(path_id,dataset_id,pic_id,save_id,sort)
	{
		if (pic_id == 0) {
			win=window.open('/tee-online.de/_admin/uploadtool/browse.asp?path_id=' + path_id + '&dataset_id=' + dataset_id + '&pic_id=' + pic_id + '&save_id=' + save_id + '&sort=' + sort,'sua',"width=780,height=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no");
		} else {
			win=window.open('/tee-online.de/_admin/uploadtool/show_pic.asp?path_id=' + path_id + '&dataset_id=' + dataset_id + '&pic_id=' + pic_id + '&save_id=' + save_id + '&sort=' + sort,'sua',"width=780,height=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no");
		}
		win.focus();
	}
	
	function UploadFiles(path_id,cd_id)
	{
		win=window.open('/tee-online.de/_admin/uploadtool/browse.asp?path_id=' + path_id + '&dataset_id=0&pic_id=0&save_id=0&sort=0' ,'sua',"width=780,height=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no");
		win.focus();
	}

	function startShopArticle(art_id) {

	win=window.open('/collection/popup/f_shop.asp?lngArticle_id=' + art_id,'shop' + art_id,'width=688,height=412,toolbar=no,menubar=no,scrollbars=no,resizable=no');

	}

//-->


