<!--
//----------------------------------------------------------------------------------------------------------------------------------

function Bilden(filename) 
{
    var myImage = new Image();
    myImage.src=filename;
    properties='height=10,width=10';
    var imgWindow = window.open('','',properties);
    
    html = '<html>';
    html += '<head>';
    html += '<title>Förstorad bild</title>';
    html += '</head>';
    html += '<body topmargin="0" marginheight="0" leftmargin="0" marginwidth="0">';
    html += '<img src="'+myImage.src+'" onLoad="resizeTo(document.bild.width+10,document.bild.height+29);" name="bild">';
    html += '</body>';
    html += '</html>';
    
    imgWindow.document.write(html);
}

//----------------------------------------------------------------------------------------------------------------------------------

function filupp(){
	if (document.frmUpload.upload.value==""){
		alert("Du glömde välja fil!");
		return false;
	}
}

//----------------------------------------------------------------------------------------------------------------------------------

function blured(){
	for (a in document.links) document.links[a].onfocus = document.links[a].blur;}
	if (document.all){document.onmousedown = blured;}

//----------------------------------------------------------------------------------------------------------------------------------

function TaBort(go){ if (confirm("Vill du verkligen ta bort bilden?")){self.location=(go)}else{}}

//----------------------------------------------------------------------------------------------------------------------------------

//-->