
	// Set the horizontal and vertical position for the popup

	PositionX = 100;
	PositionY = 100;
	
	// Set these value approximately 20 pixels greater than the
	// size of the largest image to be used (needed for Netscape)
	
	defaultWidth  = 500;
	defaultHeight = 500;
	
	// Set autoclose true to have the window close automatically
	// Set autoclose false to allow multiple popup windows
	
	var AutoClose = true;
	
	// Do not edit below this line...
	// ================================
	if (parseInt(navigator.appVersion.charAt(0))>=4){
	var isNN=(navigator.appName=="Netscape")?1:0;
	var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
	var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
	var optIE='scrollbars=no,width=600,height=300,left='+PositionX+',top='+PositionY;
	function popImage(imageURL,imageTitle,imageText){
	if (isNN){imgWin=window.open('about:blank','',optNN);}
	if (isIE){imgWin=window.open('about:blank','',optIE);}
	with (imgWin.document){
	writeln('<ht'+'ml><head><title>Laddar bild...<\/title><style>body{margin:0px;}<\/style>');
  writeln('<sc'+'ript>');
	writeln('var isNN,isIE;');
  writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
	writeln('isNN=(navigator.appName=="Netscape")?1:0;');
  writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
	writeln('function reSizeToImage(){');
  writeln('if (isIE){');
  writeln('window.resizeTo(600,300);');
	writeln('width=600-(document.body.clientWidth-document.images[0].width);');
	writeln('height=300-(document.body.clientHeight-document.images[0].height);');
  if ( imageText != '')
	writeln('window.resizeTo(width,height+50);}');
  else
  writeln('window.resizeTo(width,height);}');
  writeln('if (isNN){');       
	writeln('window.innerWidth=document.images["George"].width;');
  if ( imageText != '')
  writeln('window.innerHeight=document.images["George"].height+50;}}');
  else
  writeln('window.innerHeight=document.images["George"].height;}}');
	writeln('function doTitle(){document.title="'+imageTitle+'";}');
  writeln('<\/sc'+'ript>');
	if (!AutoClose) 
  writeln('<\/head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
	else 
  writeln('<\/head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
	writeln('<img name="George" src='+imageURL+' style="display:block">');
  if ( imageText != '')
  writeln('<font style="font-family: Verdana,Helvetica;font-size: 11px;font-style: normal;font-variant: normal;">'+imageText+'<\/font><\/body><\/ht'+'ml>');                        
  writeln('<\/body><\/ht'+'ml>');
	close();		
	}}
	
	defaultWidth  = 320;
	defaultHeight = 60;

	// Do not edit below this line...
	// ================================
	if (parseInt(navigator.appVersion.charAt(0))>=4){
	var isNN=(navigator.appName=="Netscape")?1:0;
	var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
	var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
	var optIE='scrollbars=no,width=320,height=60,left='+PositionX+',top='+PositionY;
	function popAdm(){
	if (isNN){imgWin=window.open('about:blank','',optNN);}
	if (isIE){imgWin=window.open('about:blank','',optIE);}
	with (imgWin.document){
	writeln('<ht'+'ml><head><title>Logga in<\/title><style>body{margin:0px;}<\/style>');
  writeln('<sc'+'ript>');
	writeln('var isNN,isIE;');
  writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
	writeln('isNN=(navigator.appName=="Netscape")?1:0;');
  writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
	writeln('function reSizeToImage(){');
  writeln('if (isIE){');
	writeln('width=320');
	writeln('height=60;');
  writeln('window.resizeTo(width,height);}');
  writeln('if (isNN){');       
	writeln('window.innerWidth=320;');
  writeln('window.innerHeight=60;}}');
  writeln('<\/sc'+'ript>');
  writeln('<\/head><body bgcolor=#3c3d8b style="background-repeat:no-repeat;background-position:100% 50%;background-image:url(images/svblogo2.gif);" scroll="no" onload="self.focus();self.document.LoginForm.password.focus();" onblur="//self.close()">');
	writeln('<form method="POST" action="checkpassword.asp" target="_parent" onsubmit="" name="LoginForm">');
	writeln('<table border="0" cellpadding="5" cellspacing="0" style="text-align:left;"><tr><td>');	
	writeln('<span style="font-family: Verdana,Helvetica;font-size: 12px;font-style: normal;font-variant: bold;color:white;">Skriv in ett lösenord för att administrera <br>sidorna på denna sajt.<span><\/td><\/tr>');	
	writeln('<tr><td><br><input type="password"  name="password" value="">');
	writeln('<input type="button" name="loggain" onclick="self.document.LoginForm.submit()" value="Logga in"<\/td><\/tr><\/table>');	
	writeln('<\/form>');		
  writeln('<\/body><\/ht'+'ml>');
	close();		
	}}

