ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

// Show/Hide functions for non-pointer layer/objects

var spchome='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">Back to the<br>Special Calls<br>in Sweden<br>start page</div></td></tr></table></td></tr></table>';

var spcallcc='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">All 2x1<br>Contest Calls<br>(184 calls)</div></td></tr></table></td></tr></table>';

var spcsm0='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district Ø<br>(29 calls)</div></td></tr></table></td></tr></table>';

var spcsm1='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 1<br>(1 call)</div></td></tr></table></td></tr></table>';

var spcsm2='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 2<br>(17 calls)</div></td></tr></table></td></tr></table>';

var spcsm3='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 3<br>(23 calls)</div></td></tr></table></td></tr></table>';

var spcsm4='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 4<br>(17 calls)</div></td></tr></table></td></tr></table>';

var spcsm5='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 5<br>(34 calls)</div></td></tr></table></td></tr></table>';

var spcsm6='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 6<br>(41 calls)</div></td></tr></table></td></tr></table>';

var spcsm7='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 7<br>(24 calls)</div></td></tr></table></td></tr></table>';

var spcsm8='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">2x1<br>Contest Calls<br>in SM district 8<br>(0 call)</div></td></tr></table></td></tr></table>';

var spcpref='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">All 2x1<br>Contest Calls<br>by prefixes</div><div style="font-size:10px; font-family:verdana; font-weight:bold; color:#333399;">7S 8S SA SK SL SM</div></td></tr></table></td></tr></table>';

var spcann='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">Special Events<br>and Anniversary<br>Calls<br>(44 calls)</div></td></tr></table></td></tr></table>';

var spcspc='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">Special Calls<br>(4 calls)</div></td></tr></table></td></tr></table>';

var spcall='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">The whole list<br>(232 calls)</div></td></tr></table></td></tr></table>';

var spcold='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#333399 width=120 height=70><tr><td><table cellspacing=0 cellpadding=2 border=0 width=118 height=68><tr align=center bgcolor=#ffffcc><td><div style="font-size:12px; font-family:verdana; font-weight:bold; color:#333399;">Expired Calls<br>(99 2x1 calls)<br>and<br>(81 Ann. calls)</div></td></tr></table></td></tr></table>';

var kodI= '<span id=popA style="position: absolute; top: 98; left: 610;" >'+spchome+'</span><span id=popB style="position: absolute; top: 98; left: 610;">'+spcallcc+'</span><span id=popC style="position: absolute; top: 98; left: 610;">'+spcsm0+'</span><span id=popD style="position: absolute; top: 98; left: 610;">'+spcsm1+'</span><span id=popE style="position: absolute; top: 98; left: 610;">'+spcsm2+'</span><span id=popF style="position: absolute; top: 98; left: 610;">'+spcsm3+'</span><span id=popG style="position: absolute; top: 98; left: 610;">'+spcsm4+'</span><span id=popH style="position: absolute; top: 98; left: 610;">'+spcsm5+'</span><span id=popI style="position: absolute; top: 98; left: 610;">'+spcsm6+'</span><span id=popJ style="position: absolute; top: 98; left: 610;">'+spcsm7+'</span><span id=popK style="position: absolute; top: 98; left: 610;">'+spcsm8+'</span><span id=popL style="position: absolute; top: 98; left: 610;">'+spcpref+'</span><span id=popM style="position: absolute; top: 98; left: 610;">'+spcann+'</span><span id=popN style="position: absolute; top: 98; left: 610;">'+spcspc+'</span><span id=popO style="position: absolute; top: 98; left: 610;">'+spcall+'</span><span id=popP style="position: absolute; top: 98; left: 610;">'+spcold+'</span>';

var kodN= '<LAYER ID="popA" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spchome+'</LAYER><LAYER ID="popB" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcallcc+'</LAYER><LAYER ID="popC" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm0+'</LAYER><LAYER ID="popD" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm1+'</LAYER><LAYER ID="popE" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm2+'</LAYER><LAYER ID="popF" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm3+'</LAYER><LAYER ID="popG" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm4+'</LAYER><LAYER ID="popH" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm5+'</LAYER><LAYER ID="popI" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm6+'</LAYER><LAYER ID="popJ" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm7+'</LAYER><LAYER ID="popK" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcsm8+'</LAYER><LAYER ID="popL" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcpref+'</LAYER><LAYER ID="popM" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcann+'</LAYER><LAYER ID="popN" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcspc+'</LAYER><LAYER ID="popO" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcall+'</LAYER><LAYER ID="popP" LEFT=608 TOP=87 WIDTH=120 HEIGHT=70 CLIP="0,0,120,70" VISIBILITY="hide">'+spcold+'</LAYER>';

function show(id) {
	if (ns4) document.layers[id].visibility = "show"
	else if (ie4) document.all[id].style.visibility = "visible"
}

function hide(id) {
	if (ns4) document.layers[id].visibility = "hide"
	else if (ie4) document.all[id].style.visibility = "hidden"
}

function CodeWrite()  {
 if (ns4) document.write(kodN);
 else if(ie4) document.write(kodI);
	hide('popA');
	hide('popB');
	hide('popC');
	hide('popD');
	hide('popE');
	hide('popF');
	hide('popG');
	hide('popH');
	hide('popI');
	hide('popJ');
	hide('popK');
	hide('popL');
	hide('popM');
	hide('popN');
	hide('popO');
	hide('popP');
}
