
var numFoto = 0; 
imgsBigUrl=new Array();
flashUrl=new Array()

/* ------------------------------------*/
imgsBigUrl[0]="photos/p3.jpg"
imgsBigUrl[1]="photos/p4.jpg" 
imgsBigUrl[2]="photos/p14.jpg"

imgsBigUrl[3]="photos/p6.jpg"
imgsBigUrl[4]="photos/p7.jpg" 
imgsBigUrl[5]="photos/p9.jpg"

imgsBigUrl[6]="photos/p11.jpg"
imgsBigUrl[7]="photos/p15.jpg" 
imgsBigUrl[8]="photos/p17.jpg"
/* ------------------------------------*/

flashUrl[0]="flash/Kor1"
flashUrl[1]="flash/Kor2" 
flashUrl[2]="flash/Kor3" 
flashUrl[3]="flash/Kor4"
flashUrl[4]="flash/Kor5"
flashUrl[5]="flash/Kor6"


/* ------------------------------------*/

function getParam(sParamName)
{
    var Params = location.search.substring(1).split("&");
    var variable = 0;
    for (var i = 0; i < Params.length; i++)
	{
        if (Params[i].split("=")[0] == sParamName)
		{
            if (Params[i].split("=").length > 1) variable = Params[i].split("=")[1];
            return variable;
        }
    }
    return "0";
}

function showimg() 
{	
	numFoto = getParam("fhoto");
	document.images.Oneshow.src = imgsBigUrl[numFoto];
}

function prodflash() 
{
	//if (!numload)
	//{	
		var flash = getParam("flashname");
		
	//	if (flashe == "none")
	// 			flashe = 4;
			
		AC_FL_RunContent( 'type','application/x-shockwave-flash','data',flashUrl[flash] + '.swf','width','320','height','240','movie',flashUrl[flash] );
		//AC_FL_RunContent( 'type','application/x-shockwave-flash','data','flash/Kor3','width','320','height','240','movie','flash/Kor3' );

	//}
	
}


Onecurrent = 0;

function Onenext() {
if (document.Oneslideform.Oneslide[Onecurrent+1]) {
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent+1].value;
document.Oneslideform.Oneslide.selectedIndex = ++Onecurrent;
   }
else Onefirst();
}
function Oneprevious() {
if (Onecurrent-1 >= 0) {
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent-1].value;
document.Oneslideform.Oneslide.selectedIndex = --Onecurrent;
   }
else Onelast();
}
function Onefirst() {
Onecurrent = 0;
document.images.Oneshow.src = document.Oneslideform.Oneslide[0].value;
document.Oneslideform.Oneslide.selectedIndex = 0;
}
function Onelast() {
Onecurrent = document.Oneslideform.Oneslide.length-1;
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value;
document.Oneslideform.Oneslide.selectedIndex = Onecurrent;
}


function Onechange() {
Onecurrent = document.Oneslideform.Oneslide.selectedIndex;
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value;
}


