<!--
	//    (c) 1997 Patrick Simon (patrick@webside.de)
	//    free for profit and non-profit use if this header stays
	
	        function Browser()
	        {       
	                if (navigator.appVersion.indexOf("(X11") != -1 || navigator.appVersion.indexOf("(Mac") != -1) return 1
	                else return 0
	
	        }
	        function Description(url,dow,winwidth,winheight)
	        {
	                        description=window.open(url,'descr','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=yes,scrollbars=yes,resizable=yes,top=10,left=10,copyhistory=no,width='+winwidth+',height='+winheight)
	                        description.focus()
	                        stat=dow
	                        if (Browser() == 1 ) window.open(url,'descr')
	                        else
	                                {
	                                stat=0
	                                }
	        }
			function Description2(url,dow,winwidth,winheight)
	        {
	                if (stat == 0)
	                        {
	                        description=window.open(url,'descr','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=yes,scrollbars=yes,resizable=yes,top=50,left=250,copyhistory=no,width='+winwidth+',height='+winheight)
	                        description.focus()
	                        stat=dow
	                        if (Browser() == 1 ) window.open(url,'descr')
	                        else
	                                {
	                                stat=0
	                                }
	                        }
	        }
	// -->
	stat=0
	dow=0
	
	
	function open_window1()
                        {
	window.open('content/sojern_advertiser.html','a_demo','width=660,height=540,scrollbar=yes,scrollbars=yes,resizable=yes,top=10,left=10'); 
                        }
	function open_window2()
                        {
	window.open('content/sojern_traveler.html','t_demo','width=660,height=540,scrollbar=yes,scrollbars=yes,resizable=yes,top=10,left=10'); 
                        }
						
						
// Centered Pop-Up Window (v1.0)
// (C) 2002 www.smileycat.com
// Free for all users, but leave in this header

var win = null;
function newWindow(mypage,myname,w,h,features) {
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}
