//
// GalaInjector
// (C) 2009, Trurl McByte, GoHa.Ru
//
// Do not edit this file!
//

if(gg_images===undefined) { var gg_images = new Array(); }
if(gg_lastid===undefined) { var gg_lastid = 3; }
if(gg_current===undefined) { var gg_current = new Array(); }
if(gg_def_size===undefined) { var gg_def_size = new Array();; }

var gg_text = new Array();
gg_text['mid']="Средний размер";
gg_text['full']="Полный размер";
gg_text['mid_desc']="Смотрите средний размер версия этого изображения.";
gg_text['full_desc']="Смотрите полный размер версия этого изображения.";


function gg_init(el) {

	var base = el.parentNode;
	var path=el.src;
	path=path.substring(0,path.lastIndexOf('/')+1);
	var galaholder = document.createElement('div');
	galaholder.style.width="100%";
	galaholder.style.display='none';
	base.appendChild(galaholder);
	var uid = ++gg_lastid; 
	gg_current[uid]=0;
	gg_def_size[uid]=1;
	gg_images[uid] = new Array();

gg_images[uid][0]=['0','darkshore_-_darkspear_village.jpg','',path+'thumb/6a08ddb8315cf6c4c48733f3a63810ab.jpg',path+'normal/6a08ddb8315cf6c4c48733f3a63810ab.jpg',path+'full/6a08ddb8315cf6c4c48733f3a63810ab.jpg','640','1500','480','1125',''];
gg_images[uid][1]=['1','darkshore_-_shatterspear.jpg','',path+'thumb/e14a1750bb3b17e82614f4cc1bc5d26a.jpg',path+'normal/e14a1750bb3b17e82614f4cc1bc5d26a.jpg',path+'full/e14a1750bb3b17e82614f4cc1bc5d26a.jpg','640','1500','480','1125',''];
gg_images[uid][2]=['2','desolace_landscape.jpg','',path+'thumb/9a9625c4cc1078744ce88b31b6501038.jpg',path+'normal/9a9625c4cc1078744ce88b31b6501038.jpg',path+'full/9a9625c4cc1078744ce88b31b6501038.jpg','640','1500','480','1125',''];
gg_images[uid][3]=['3','gilneas_-_clock.jpg','',path+'thumb/a61d8d1a7296a05b5d55bfeced1dfb98.jpg',path+'normal/a61d8d1a7296a05b5d55bfeced1dfb98.jpg',path+'full/a61d8d1a7296a05b5d55bfeced1dfb98.jpg','640','1500','480','1125',''];
gg_images[uid][4]=['4','gilneas_-_lighthouse.jpg','',path+'thumb/e1cdc75f35cced08a08d2ddd32d21a4e.jpg',path+'normal/e1cdc75f35cced08a08d2ddd32d21a4e.jpg',path+'full/e1cdc75f35cced08a08d2ddd32d21a4e.jpg','640','1500','480','1125',''];
gg_images[uid][5]=['5','gilneas_-_siege.jpg','',path+'thumb/a910afd2b35668ba51922e46cab2dbf9.jpg',path+'normal/a910afd2b35668ba51922e46cab2dbf9.jpg',path+'full/a910afd2b35668ba51922e46cab2dbf9.jpg','640','1500','480','1125',''];
gg_images[uid][6]=['6','gilneas_city.jpg','',path+'thumb/b7d8073245cc025052a7b3b573cc8b1f.jpg',path+'normal/b7d8073245cc025052a7b3b573cc8b1f.jpg',path+'full/b7d8073245cc025052a7b3b573cc8b1f.jpg','640','1500','480','1125',''];
gg_images[uid][7]=['7','gilneas_manor.jpg','',path+'thumb/93f2bf50bb47e966651d5a2bcadabad7.jpg',path+'normal/93f2bf50bb47e966651d5a2bcadabad7.jpg',path+'full/93f2bf50bb47e966651d5a2bcadabad7.jpg','640','1500','480','1125',''];
gg_images[uid][8]=['8','goblin.jpg','',path+'thumb/4827ca4b198e5ae3c91ed614679829a5.jpg',path+'normal/4827ca4b198e5ae3c91ed614679829a5.jpg',path+'full/4827ca4b198e5ae3c91ed614679829a5.jpg','640','1500','480','1125',''];
gg_images[uid][9]=['9','goblin_attacking.jpg','',path+'thumb/0d1a2546d12c17e58b2541d8a6260290.jpg',path+'normal/0d1a2546d12c17e58b2541d8a6260290.jpg',path+'full/0d1a2546d12c17e58b2541d8a6260290.jpg','640','1500','480','1125',''];
gg_images[uid][10]=['10','goblin_warlock.jpg','',path+'thumb/1c1cfa30443062057e556f753823de68.jpg',path+'normal/1c1cfa30443062057e556f753823de68.jpg',path+'full/1c1cfa30443062057e556f753823de68.jpg','640','1500','480','1125',''];
gg_images[uid][11]=['11','grom gal_base_camp.jpg','',path+'thumb/f9c2506f437f914e07b623212bc3d86d.jpg',path+'normal/f9c2506f437f914e07b623212bc3d86d.jpg',path+'full/f9c2506f437f914e07b623212bc3d86d.jpg','640','1500','480','1125',''];
gg_images[uid][12]=['12','southern_barrens.jpg','',path+'thumb/83c22973cdbccab440c9ec3b3995bbdd.jpg',path+'normal/83c22973cdbccab440c9ec3b3995bbdd.jpg',path+'full/83c22973cdbccab440c9ec3b3995bbdd.jpg','640','1500','480','1125',''];
gg_images[uid][13]=['13','upper_blackrock_spire_-_environment.jpg','',path+'thumb/8d4eaa9e995ee03c70913d46c28f9e46.jpg',path+'normal/8d4eaa9e995ee03c70913d46c28f9e46.jpg',path+'full/8d4eaa9e995ee03c70913d46c28f9e46.jpg','640','1500','480','1125',''];
gg_images[uid][14]=['14','worgen.jpg','',path+'thumb/6daf4722e1621e3eb76f40e1d09b8212.jpg',path+'normal/6daf4722e1621e3eb76f40e1d09b8212.jpg',path+'full/6daf4722e1621e3eb76f40e1d09b8212.jpg','640','1500','480','1125',''];
gg_images[uid][15]=['15','worgen_poised_to_attack.jpg','',path+'thumb/5f5c63f035eec83bd2be9ca60bbe232b.jpg',path+'normal/5f5c63f035eec83bd2be9ca60bbe232b.jpg',path+'full/5f5c63f035eec83bd2be9ca60bbe232b.jpg','640','1500','480','1125',''];
gg_images[uid][16]=['16','zoram gar_outpost.jpg','',path+'thumb/7af203568f7d32226fe62d4521580314.jpg',path+'normal/7af203568f7d32226fe62d4521580314.jpg',path+'full/7af203568f7d32226fe62d4521580314.jpg','640','1500','480','1125',''];



 galaholder.innerHTML='<style type="text/css">'+
'  small.gg { font-size:0.85em; }'+
'  img.gg-image { background-color:#eeeeee; border:1px solid #cccccc; }'+
'  img.gg-thumb { background-color:#eeeeee; border:0px solid #cccccc; }'+
'  img#gg-thumb-current { border-color:#f9f99f; border-left:2px solid #f9f99f; border-right:2px solid #f9f99f; }'+
'  div.gg-caption { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:13px; }'+
'  a.gg-grayout:hover { color: #a0a0a0; text-decoration: none; font-weight: bold; cursor: default; }'+
'  a.gg-grayout:active { color: #a0a0a0; text-decoration: none; font-weight: bold; cursor: default; }'+
'  a.gg-grayout:visited { color: #a0a0a0; text-decoration: none; font-weight: bold; cursor: default; }'+
'  a.gg-grayout:link { color: #a0a0a0; text-decoration: none; font-weight: bold; cursor: default; }'+
'  a.gg-grayout { color: #999999; text-decoration: none; font-weight: bold; cursor: default; }'+
'.wrapper { border:1px solid #CCC; background: #FFF url('+path+'files/loading_image.gif) no-repeat 50% 50%;}'+
'</style>'+
'<div style="padding-top: 0px;" align="center"><table summary="Image Gallery" border="0" cellpadding="0" cellspacing="0">' +
'<tbody><tr><td colspan="2"><table summary="Control Bar" cellpadding="0" cellspacing="0" width="100%"> ' +
'<tbody><tr><td align="center" nowrap="nowrap"><div style="padding-top: 2px;"><small class="gg"> &nbsp;Размер по умолчанию: <b>[</b>' +
'<a id="gg_def1_'+uid+'" href="#" title="Изменить размер изображения по умолчанию на средний размер." class="gg-grayout" onclick="return gg_defsize('+uid+',1);">Средний</a> |'+
'<a id="gg_def2_'+uid+'" href="#" title="Изменить размер изображения по умолчанию на полный размер." onclick="return gg_defsize('+uid+',2);">Полный</a>'+
'<b>]</b> </small></div></td></tr></tbody></table></td></tr><tr><td align="center">'+
'<table summary="image display area" border="0" cellpadding="2" cellspacing="0" width="100%">'+
'<tbody><tr><td><div style="padding-top: 0px;" align="center"><table summary="Gallery Navigation" cellpadding="1" cellspacing="0" width="500px">'+
'<tbody><tr><td style="white-space: nowrap; text-align: center;" width="5%"><a id="gg_first1_'+uid+'" href="#" class="gg-grayout" title="Первое изображение" onclick="return gg_first('+uid+');">|&lt;&lt;</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="14%"><a id="gg_prev1_'+uid+'" href="#" class="gg-grayout" title="Предыдущее изображение" onclick="return gg_prev('+uid+');">&lt;&lt; Предыдущий</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="30%"><a id="gg_size1_'+uid+'" href="#" title="Смотрите полный размер версия этого изображения." onclick="return gg_size('+uid+',2);">Полный размер</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="14%"><a id="gg_next1_'+uid+'" href="#" title="Следующее изображение" onclick="return gg_next('+uid+');">Следующий &gt;&gt;</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="5%"><a id="gg_last1_'+uid+'" href="#" title="Последнее изображение" onclick="return gg_last('+uid+');">&gt;&gt;|</a>'+
'</td></tr></tbody></table></div><center><div id="gg_desc_'+uid+'"></div><div style="padding-top: 2px;" align="center" id="gg_holder_'+uid+'" class="wrapper">'+
'<a href="#" title="Следующее изображение" onclick="return gg_show('+uid+',gg_current['+uid+']+1);" style="display: none;" id="gg_link_'+uid+'"><img style="border: 0px" id="gg_image_'+uid+'" class="gg-image" src="" alt="" height="480px" width="640px" onload="return gg_cshow('+uid+');"></a>'+
'</div></center><div style="padding-top: 2px;" align="center">'+
'<table summary="Gallery Navigation" cellpadding="1" cellspacing="0" width="500px">'+
'<tbody><tr><td style="white-space: nowrap; text-align: center;" width="5%">'+
'<a id="gg_first2_'+uid+'" href="#" class="gg-grayout" title="Первое изображение"  onclick="return gg_first('+uid+');">|&lt;&lt;</a></td>'+
'<td style="white-space: nowrap; text-align: center;" width="14%"><a id="gg_prev2_'+uid+'" href="#" class="gg-grayout" title="Предыдущее изображение"  onclick="return gg_prev('+uid+');">&lt;&lt; Предыдущий</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="10%"><b id="gg_count2_'+uid+'">1 of ...</b></td><td style="white-space: nowrap; text-align: center;" width="20%"> &nbsp;'+
'<a id="gg_size2_'+uid+'" href="#" title="Смотрите полный размер версия этого изображения." onclick="return gg_size('+uid+',2);">Полный размер</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="14%"><a id="gg_next2_'+uid+'" href="#" title="Следующее изображение" onclick="return gg_next('+uid+');">Следующий &gt;&gt;</a>'+
'</td><td style="white-space: nowrap; text-align: center;" width="5%"><a id="gg_last2_'+uid+'" href="#" title="Последнее изображение" onclick="return gg_last('+uid+');">&gt;&gt;|</a>'+
'</td></tr></tbody></table></div><div style="padding-top: 2px; white-space: nowrap;" align="center">'+

'<a href="#" onclick="return gg_show('+uid+',0);" title="darkshore_-_darkspear_village.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/6a08ddb8315cf6c4c48733f3a63810ab.jpg" alt="darkshore_-_darkspear_village.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',1);" title="darkshore_-_shatterspear.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/e14a1750bb3b17e82614f4cc1bc5d26a.jpg" alt="darkshore_-_shatterspear.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',2);" title="desolace_landscape.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/9a9625c4cc1078744ce88b31b6501038.jpg" alt="desolace_landscape.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',3);" title="gilneas_-_clock.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/a61d8d1a7296a05b5d55bfeced1dfb98.jpg" alt="gilneas_-_clock.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',4);" title="gilneas_-_lighthouse.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/e1cdc75f35cced08a08d2ddd32d21a4e.jpg" alt="gilneas_-_lighthouse.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',5);" title="gilneas_-_siege.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/a910afd2b35668ba51922e46cab2dbf9.jpg" alt="gilneas_-_siege.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',6);" title="gilneas_city.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/b7d8073245cc025052a7b3b573cc8b1f.jpg" alt="gilneas_city.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',7);" title="gilneas_manor.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/93f2bf50bb47e966651d5a2bcadabad7.jpg" alt="gilneas_manor.jpg" height="80px" width="80px"></a></div><div style="padding-top: 2px; white-space: nowrap;" align="center">'+

'<a href="#" onclick="return gg_show('+uid+',8);" title="goblin.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/4827ca4b198e5ae3c91ed614679829a5.jpg" alt="goblin.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',9);" title="goblin_attacking.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/0d1a2546d12c17e58b2541d8a6260290.jpg" alt="goblin_attacking.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',10);" title="goblin_warlock.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/1c1cfa30443062057e556f753823de68.jpg" alt="goblin_warlock.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',11);" title="grom gal_base_camp.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/f9c2506f437f914e07b623212bc3d86d.jpg" alt="grom gal_base_camp.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',12);" title="southern_barrens.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/83c22973cdbccab440c9ec3b3995bbdd.jpg" alt="southern_barrens.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',13);" title="upper_blackrock_spire_-_environment.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/8d4eaa9e995ee03c70913d46c28f9e46.jpg" alt="upper_blackrock_spire_-_environment.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',14);" title="worgen.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/6daf4722e1621e3eb76f40e1d09b8212.jpg" alt="worgen.jpg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',15);" title="worgen_poised_to_attack.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/5f5c63f035eec83bd2be9ca60bbe232b.jpg" alt="worgen_poised_to_attack.jpg" height="80px" width="80px"></a></div><div style="padding-top: 2px; white-space: nowrap;" align="center">'+

'<a href="#" onclick="return gg_show('+uid+',16);" title="zoram gar_outpost.jpg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/7af203568f7d32226fe62d4521580314.jpg" alt="zoram gar_outpost.jpg" height="80px" width="80px"></a>'+

'</div><div style="padding-top: 5px;" align="center">'+
'<table summary="Gallery Footer" cellpadding="1" cellspacing="0" width="100%">'+
'<tbody><tr><td nowrap="nowrap" width="20%"><div title="Site Link" style="font-size: 0.75em;">'+
'<a href="http://www.goha.ru/" title="GoHa.Ru">GoHa.Ru</a>&nbsp; </div></td>'+
'<td align="center" nowrap="nowrap" width="60%"><div title="Copyright Text" style="color: rgb(204, 204, 204); font-size: 0.75em; font-weight: normal;">'+
'Copyright GoHa.Ru © 2007. All rights reserved.</div></td><td nowrap="nowrap" width="20%">'+
'<div style="color: rgb(204, 204, 204); font-size: 0.75em; text-align: right;"> Gallery by Trurl McByte (based on Qdig Gallery)</div></td></tr>'+
'</tbody></table></div></td></tr></tbody></table></td></tr></tbody></table></div>';
 galaholder.style.display='';


  if(!document.getElementById('galainjector') || document.getElementById('galainjector')===null) {
    var gala_script = document.createElement('script');
    gala_script.type = 'text/javascript';
    gala_script.src = path+"files/goharu.js"
    gala_script.id = 'gala';
    gala_script.onload = function onload (event) { return gg_show(uid,0); };
    gala_script.onreadystatechange = function onreadystatechange (event) { if(this.readyState=='loaded') return gg_show(uid,0); };
//    var dst=document.getElementsByTagName('head')[0];
    base.appendChild(gala_script);
  } else { gg_show(uid,0); }
  return false;
}

