function createPage(i,n){var w, h;
switch (i){
case  1:w=696; h=153; i=3264;break;
case  2:w=588; h=118; i=7915;break;
case  3:w=489; h=329; i=2422;break;
case  4:w=250; h=340; i=9886;break;
case  5:w=431; h=379; i=1419;break;
case  6:w=591; h=502; i=4492;break;
case  7:w=453; h=541; i=3574;break;
case  8:w=371; h=424; i=3968;break;
case  9:w=397; h=226; i=8943;break;
case 10:w=425; h=354; i=4353;break;
case 11:w=283; h=155; i=1354;break;
case 12:w=283; h=167; i=2186;break;
case 13:w=454; h=466; i=6548;break;
case 14:w=374; h=327; i=3548;break;
case 15:w=397; h=396; i=7358;break;
};
var create = top.window.open('','', 'width=' + w + ', height=' + h + ', top=150, left=200, resizable=0, scrollbars=no, directories=no, status=no, location=no, toolbar=no, hotkeys=0'); create.document.write('<HEAD><TITLE>Рисунок ' + n + '</TITLE></HEAD><BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="100%" HEIGHT="100%" leftmargin="0"><PARAM NAME=movie VALUE="image/' + i + '.swf"><PARAM NAME=menu VALUE=false><PARAM NAME=quality VALUE=high><EMBED src="' + i + '.swf" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT></BODY>');}

function ShowImage(ind, n, w, h, y, i){
var create = top.window.open('','', 'width=' + w + ', height=' + h + ', top=150, left=200, resizable=0, scrollbars=no, directories=no, status=no, location=no, toolbar=no, hotkeys=0');
create.document.write('<HEAD><TITLE>' + n + '</TITLE></HEAD><BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><IMG SRC="expedition/' + y + '/' + i + '/img/' + ind + '.jpg"></BODY>');}


function ShowImage2(ind, n, w, h, i){
var create = top.window.open('','', 'width=' + w + ', height=' + h + ', top=150, left=200, resizable=0, scrollbars=no, directories=no, status=no, location=no, toolbar=no, hotkeys=0');
create.document.write('<HEAD><TITLE>' + n + '</TITLE></HEAD><BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><IMG SRC="sever/' + i + '/img/' + ind + '.jpg"></BODY>');}

function ShowImagePublic(ind, n, w, h, i)
{
   h=h+60;
   w=w+18;
   var create = top.window.open('','', 'width=' + w + ', height=' + h + ', top=150, left=200, resizable=yes, scrollbars=yes,  directories=no, status=no, location=no, toolbar=no, hotkeys=0');
   create.document.write('<HEAD><TITLE>' + n + '</TITLE></HEAD><BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><IMG SRC="public/' + i + '/img/' + ind + '.jpg"><p>' + n + '</p></BODY>');
}

function ShowImageText(ind, n, w, h, y, i)
{
   h=h+60;
   w=w+18;
   var create = top.window.open('','', 'width=' + w + ', height=' + h + ', top=150, left=200, resizable=yes, scrollbars=yes,  directories=no, status=no, location=no, toolbar=no, hotkeys=0');
   create.document.write('<HEAD><TITLE>' + n + '</TITLE></HEAD><BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><IMG SRC="expedition/' + y + '/'+ i + '/img/' + ind + '.jpg"><p>' + n + '</p></BODY>');
}

function ShowImageSever(ind, n, w, h, i, f)
{
   h=h+60;
   w=w+18;
   var create = top.window.open('','', 'width=' + w + ', height=' + h + ', top=150, left=200, resizable=yes, scrollbars=yes,  directories=no, status=no, location=no, toolbar=no, hotkeys=0');
   create.document.write('<HEAD><TITLE>' + n + '</TITLE></HEAD><BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><IMG SRC="sever/' + i + '/img/' + ind + '.' + f + '"><p>' + n + '</p></BODY>');
}

