function changeNS4Picture(cur3,img_name){
   if (document.layers)
                document[cur3].src=img_name;
}

function changePicture(cur3,img_name){
        cur3.src=img_name;
}

function drawPicture(name,pic,picd,href,alt,target){
        if (target==1) {
                document.writeln('<a href=\''+href+'\' target="_blank" onmouseover="changeNS4Picture(\''+name+'\',\''+picd+'\')"');
        }
        else {
              if (target==2) {
                      document.writeln('<a href=\''+href+'\' onmouseover="changeNS4Picture(\''+name+'\',\''+picd+'\')"');
              }
              else {
                      document.writeln('<a href=\''+href+'\' target="_parent" onmouseover="changeNS4Picture(\''+name+'\',\''+picd+'\')"');
              }
        }
        document.writeln('onmouseout="changeNS4Picture(\''+name+'\',\''+pic+'\')">');
        document.writeln('<img alt="'+alt+'" name="'+name+'" src="'+pic+'" border="0"');
        document.writeln('onmouseover="changePicture(this,\''+picd+'\')"');
        document.writeln('onmouseout="changePicture(this,\''+pic+'\')"></a>');
}

function Preload(impath){

        preImage = new Image();
        preImage.src = impath;

}

function Preload5(){

hidImage1 = new Image();
hidImage2 = new Image();
hidImage3 = new Image();
hidImage4 = new Image();
hidImage5 = new Image();
hidImage1.src = 'Images/buttons/main_buttond.gif';
hidImage2.src = 'Images/buttons/soderg_buttond.gif';
hidImage3.src = 'Images/buttons/mapvs_buttond.gif';
hidImage4.src = 'Images/buttons/guest_buttond.gif';
hidImage5.src = 'Images/buttons/auth_buttond.gif';

}

function mt(){
	document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,118,111,108,107,111,118,64,97,110,117,116,97,46,111,114,103,34,32,116,105,116,108,101,61,34,69,45,109,97,105,108,34,62,66,108,97,99,107,32,82,97,118,101,110,60,47,97,62));
}
function mtimg(){
	document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,118,111,108,107,111,118,64,97,110,117,116,97,46,111,114,103,34,32,116,105,116,108,101,61,34,69,45,109,97,105,108,34,62,60,105,109,103,32,115,114,99,61,34,73,109,97,103,101,115,47,98,114,108,111,103,111,46,103,105,102,34,32,98,111,114,100,101,114,61,34,48,34,32,47,62,60,47,97,62));
}