//
// 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','Abyssal Maw.jpeg','',path+'thumb/b7326705a2a7a1994620c66bd02cedb0.jpg',path+'normal/b7326705a2a7a1994620c66bd02cedb0.jpg',path+'full/b7326705a2a7a1994620c66bd02cedb0.jpg','640','2048','480','1536',''];
gg_images[uid][1]=['1','Ashenvale - Zoram&#039;gar Outpost.jpeg','',path+'thumb/ba866bd05d95ea285188d44a5d03426e.jpg',path+'normal/ba866bd05d95ea285188d44a5d03426e.jpg',path+'full/ba866bd05d95ea285188d44a5d03426e.jpg','640','2048','480','1536',''];
gg_images[uid][2]=['2','Barrens.jpeg','',path+'thumb/f05194172126ea00730dac26bd81bf64.jpg',path+'normal/f05194172126ea00730dac26bd81bf64.jpg',path+'full/f05194172126ea00730dac26bd81bf64.jpg','640','2048','480','1536',''];
gg_images[uid][3]=['3','Darkshore.jpeg','',path+'thumb/8d0582e505d7f280ed8672140f1b2e1e.jpg',path+'normal/8d0582e505d7f280ed8672140f1b2e1e.jpg',path+'full/8d0582e505d7f280ed8672140f1b2e1e.jpg','640','2012','480','1509',''];
gg_images[uid][4]=['4','Darkshore - Shatterspear.jpeg','',path+'thumb/dbbb0da2110ecf23049ef1f8940cac06.jpg',path+'normal/dbbb0da2110ecf23049ef1f8940cac06.jpg',path+'full/dbbb0da2110ecf23049ef1f8940cac06.jpg','640','2012','480','1509',''];
gg_images[uid][5]=['5','Desolace Invasion.jpeg','',path+'thumb/cb6d103358317042761dab20c01a403e.jpg',path+'normal/cb6d103358317042761dab20c01a403e.jpg',path+'full/cb6d103358317042761dab20c01a403e.jpg','640','2012','480','1509',''];
gg_images[uid][6]=['6','Desolace Landscape.jpeg','',path+'thumb/a1901cf68dfe4efb13a5e61c2ea7c8e5.jpg',path+'normal/a1901cf68dfe4efb13a5e61c2ea7c8e5.jpg',path+'full/a1901cf68dfe4efb13a5e61c2ea7c8e5.jpg','640','2048','480','1536',''];
gg_images[uid][7]=['7','Female Goblin.jpeg','',path+'thumb/156d2797547d76927c5d7045e2f518f2.jpg',path+'normal/156d2797547d76927c5d7045e2f518f2.jpg',path+'full/156d2797547d76927c5d7045e2f518f2.jpg','640','2012','480','1509',''];
gg_images[uid][8]=['8','Gilneas.jpeg','',path+'thumb/46cac2be0f8c0399dfadd74ecbca1884.jpg',path+'normal/46cac2be0f8c0399dfadd74ecbca1884.jpg',path+'full/46cac2be0f8c0399dfadd74ecbca1884.jpg','640','2048','480','1536',''];
gg_images[uid][9]=['9','Gilneas - City Streets.jpeg','',path+'thumb/cd14798b6a5e01b0d90caced9f51cd51.jpg',path+'normal/cd14798b6a5e01b0d90caced9f51cd51.jpg',path+'full/cd14798b6a5e01b0d90caced9f51cd51.jpg','640','2012','480','1509',''];
gg_images[uid][10]=['10','Gilneas - House.jpeg','',path+'thumb/2b3d691ebfe5db087fe77166f35aa568.jpg',path+'normal/2b3d691ebfe5db087fe77166f35aa568.jpg',path+'full/2b3d691ebfe5db087fe77166f35aa568.jpg','640','2012','480','1509',''];
gg_images[uid][11]=['11','Gilneas - Windmills.jpeg','',path+'thumb/4f2c769a705921886009a20bbaae016f.jpg',path+'normal/4f2c769a705921886009a20bbaae016f.jpg',path+'full/4f2c769a705921886009a20bbaae016f.jpg','640','2012','480','1509',''];
gg_images[uid][12]=['12','Goblin Priest, Mage, and Warlock.jpeg','',path+'thumb/5cc9c8a27ea7095103ae6e87c5835a65.jpg',path+'normal/5cc9c8a27ea7095103ae6e87c5835a65.jpg',path+'full/5cc9c8a27ea7095103ae6e87c5835a65.jpg','640','2012','480','1509',''];
gg_images[uid][13]=['13','Horde in Ashenvale.jpeg','',path+'thumb/318933a73ddea0907c9e9c96f9c617d2.jpg',path+'normal/318933a73ddea0907c9e9c96f9c617d2.jpg',path+'full/318933a73ddea0907c9e9c96f9c617d2.jpg','640','2048','480','1536',''];
gg_images[uid][14]=['14','Lost Isles - Battle.jpeg','',path+'thumb/ae47f87809e6ce19f5875b076f15f086.jpg',path+'normal/ae47f87809e6ce19f5875b076f15f086.jpg',path+'full/ae47f87809e6ce19f5875b076f15f086.jpg','640','2048','480','1536',''];
gg_images[uid][15]=['15','Southern Barrens.jpeg','',path+'thumb/67173197e1721a9337e23a40874a2f96.jpg',path+'normal/67173197e1721a9337e23a40874a2f96.jpg',path+'full/67173197e1721a9337e23a40874a2f96.jpg','640','2048','480','1536',''];
gg_images[uid][16]=['16','Stonetalon Mountains Witch-Doctor.jpeg','',path+'thumb/3ae01448ca20743c3cfe76e7cd41e73b.jpg',path+'normal/3ae01448ca20743c3cfe76e7cd41e73b.jpg',path+'full/3ae01448ca20743c3cfe76e7cd41e73b.jpg','640','2048','480','1536',''];
gg_images[uid][17]=['17','Upper Blackrock Spire - Bridge.jpeg','',path+'thumb/54dd7c21422a752697daf9e029ae848a.jpg',path+'normal/54dd7c21422a752697daf9e029ae848a.jpg',path+'full/54dd7c21422a752697daf9e029ae848a.jpg','640','2048','480','1536',''];
gg_images[uid][18]=['18','Worgen.jpeg','',path+'thumb/7ec35bd655f283b06dcf48b0d34608c8.jpg',path+'normal/7ec35bd655f283b06dcf48b0d34608c8.jpg',path+'full/7ec35bd655f283b06dcf48b0d34608c8.jpg','640','2012','480','1509',''];
gg_images[uid][19]=['19','Worgen in Arathi Basin.jpeg','',path+'thumb/58053da8d32343c0608716395cff38e2.jpg',path+'normal/58053da8d32343c0608716395cff38e2.jpg',path+'full/58053da8d32343c0608716395cff38e2.jpg','640','2012','480','1509',''];



 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="Abyssal Maw.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/b7326705a2a7a1994620c66bd02cedb0.jpg" alt="Abyssal Maw.jpeg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',1);" title="Ashenvale - Zoram&#039;gar Outpost.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/ba866bd05d95ea285188d44a5d03426e.jpg" alt="Ashenvale - Zoram&#039;gar Outpost.jpeg" height="80px" width="80px"></a>'+

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

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

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

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

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

'<a href="#" onclick="return gg_show('+uid+',7);" title="Female Goblin.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/156d2797547d76927c5d7045e2f518f2.jpg" alt="Female Goblin.jpeg" 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="Gilneas.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/46cac2be0f8c0399dfadd74ecbca1884.jpg" alt="Gilneas.jpeg" height="80px" width="80px"></a>'+

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

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

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

'<a href="#" onclick="return gg_show('+uid+',12);" title="Goblin Priest, Mage, and Warlock.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/5cc9c8a27ea7095103ae6e87c5835a65.jpg" alt="Goblin Priest, Mage, and Warlock.jpeg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',13);" title="Horde in Ashenvale.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/318933a73ddea0907c9e9c96f9c617d2.jpg" alt="Horde in Ashenvale.jpeg" height="80px" width="80px"></a>'+

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

'<a href="#" onclick="return gg_show('+uid+',15);" title="Southern Barrens.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/67173197e1721a9337e23a40874a2f96.jpg" alt="Southern Barrens.jpeg" 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="Stonetalon Mountains Witch-Doctor.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/3ae01448ca20743c3cfe76e7cd41e73b.jpg" alt="Stonetalon Mountains Witch-Doctor.jpeg" height="80px" width="80px"></a>'+

'<a href="#" onclick="return gg_show('+uid+',17);" title="Upper Blackrock Spire - Bridge.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/54dd7c21422a752697daf9e029ae848a.jpg" alt="Upper Blackrock Spire - Bridge.jpeg" height="80px" width="80px"></a>'+

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

'<a href="#" onclick="return gg_show('+uid+',19);" title="Worgen in Arathi Basin.jpeg"><img style="border: 0px; margin: 2px;" src="'+path+'thumb/58053da8d32343c0608716395cff38e2.jpg" alt="Worgen in Arathi Basin.jpeg" 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;
}

