	<!-- // begin hiding
 
var value = null;
function OpenWin(value,wval,hval) 
	{
	window.open(value,'popup','resizable=yes,width=' + wval + ',height=' + hval + ',status=no,location=no,toolbar=no,menubar=no,scrollbars=yes');
	}		

function confirmSubmit()
{
var agree=confirm("Are you sure you wish to continue?");
if (agree)
	return true ;
else
	return false ;
}

function ResizeToFit()
{
var imgWidth
var imgHeight

imgWidth = document.imgAlt.width + 100
imgHeight = document.imgAlt.height + 80

window.resizeTo(imgWidth, imgHeight)
}

function imgswap(primary, imgname1, secondary, imgname2)
{
 eval("document." + primary + ".src = '" + imgname1 + "'");
 eval("document." + secondary + ".src = '" + imgname2 + "'");	
}
defaultStatus = "TN Reportage";

//if (window == top) top.location.href = "default.htm";

function changeColors(subcatcell)
{
	subcatcell.style.backgroundColor="#CFCBC2"
}
function restoreColors(subcatcell)
{
	subcatcell.style.backgroundColor=""
}


var clickmessage="Högerklick ej möjlig på bilder!"
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()

	// end hiding -->

function getString(date)
{
  var months = new Array("januari", "februari", "mars",
                         "april",   "maj",      "juni",
                         "juli",    "augusti",  "september",
                         "oktober", "november", "december");
  var days = new Array("Söndag", "Måndag","Tisdag","Onsdag",
                       "Torsdag","Fredag","Lördag","Söndag"); 
  datum = new String(date);
  return days[date.getDay()] + "" + "  " + date.getDate() + " " + months[date.getMonth()] + " " + datum.substring(datum.length, datum.length-4);
}

function writeDate()
{
  var date = new Date();
  var str = getString(date);
  document.write(str);
}

<!-- Hide from older browsers
function SwitchImg()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} //end

function RestoreImg()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end

// end hiding contents -->