<!--
if (document.images){
	SrcArr = new Array ("but_more_a","bul_mn_pop","bul_mn_pop1");
	ImgArr = new Array ();
	for (i in SrcArr)
	{
		ImgArr[i] = new Image ();
		ImgArr[i].src = "/images/" + SrcArr[i] + ".gif";
	}
}

function ChgImg(ImNm, Pic){
	if (document.images) {
    document.images[ImNm].src = "/images/"+ Pic + ".gif";}
	}


function ProjectImageWin(URL)
{
    top_  = screen.height/2 - 300;	
    left_ = screen.width/2  - 250;    
    str   = 'left=' + parseInt(left_) + ',top=' + parseInt(top_) + ',width=670,height=520,scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=1';
    w = window.open(URL,'ProjectImageWin', str);
    w.focus();
}


function ShowImageSizeWin(URL, imageWidth, imageHeight)
{
    winWidth  = imageWidth +20;
    winHeight = imageHeight+20;

    top_  = screen.height/2 - winHeight/2;
    left_ = screen.width/2  - winWidth/2;
    str   = 'left=' + parseInt(left_) + ',top=' + parseInt(top_) + ',width='+winWidth+',height='+winHeight+',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=1';
    w = window.open(URL,'ImageWin', str);
    w.focus();
}
function preload()
	{
	if (document.images)
		{
		var imgsrc = preload.arguments;
		arr = new Array(imgsrc.length);
		for (var j=0; j<imgsrc.length; j++)
			{
			arr[j] = new Image();
			arr[j].src = imgsrc[j];
			}
		}
	}
function outFlash() {
    //document.getElementById('flash2').Rewind();
    //document.getElementById('flash2').style.visibility="visible";
    //document.getElementById('flash2').Play();   

   // document.flash2.Rewind();
    //document.flash2.Play();
}
function brouserVersion() {
    isDOM  = (document.getElementById)?true:false;
    isMSIE = (document.all && document.all.item)?true:false;
    isNC4  = (document.layers)?true:false;

    if(isNC4) {
	window.location.href="http://www.sam-solutions.net/old_ver.php";
    }
}

//-->
