// ==UserScript==
// @name           Marry X-Mass Ikariam for Internet Explorer
// @autor          Angelo Verona alias Anilo, _Assassin, morths(for IE7+)
// @email          anilo4ever@gmail.com, cz.assassin@gmail.com, morths@gmail.com
// @namespace      Ikariam
// @description    Christmass graphic pack(v.0.8.5) for Ikariam, Created/redrawed by Anilo with _Assasin [and morths(for IE7+)] 
// @include        http://s*.ikariam.*/*
// @exclude        http://board.ikariam.*/*
// ==/UserScript==

//*********
//animationCSS += '';
//http://ikariam.bgt-angels.sk/game/xmas/
//http://ikariam.bgt-angels.sk/game/Syberian/
//*********

(function(){ 
	//var of CORE
  var animationCSS  = '';

//Christmas graphic pack for Ikariam(v.0.8.5) regenerated by morths for IE7+, based on the original script made by Anilo & _Assassin for Firefox
//+Winter graphic pack for Ikariam[Syberian Ikariam(v.0.8.1)] regenerated & added by morths for IE7+, based on the original script made by Anilo & _Assassin for Firefox

// WORLD
// islands
animationCSS += '#worldmap_iso #worldmap .island1 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island01.gif);}';
animationCSS += '#worldmap_iso #worldmap .island2 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island02.gif);}';
animationCSS += '#worldmap_iso #worldmap .island3 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island03.gif);}';
animationCSS += '#worldmap_iso #worldmap .island4 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island04.gif);}';
animationCSS += '#worldmap_iso #worldmap .island5 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island05.gif);}';
animationCSS += '#worldmap_iso #worldmap .island6 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island06.gif);}';
animationCSS += '#worldmap_iso #worldmap .island7 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island07.gif);}';
animationCSS += '#worldmap_iso #worldmap .island8 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island08.gif);}';
animationCSS += '#worldmap_iso #worldmap .island9 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island09.gif);}';
animationCSS += '#worldmap_iso #worldmap .island10 {background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/tile_island10.gif);}';

// ISLAND
animationCSS += '#island #container #mainview {padding:0; height:440px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/bg_island.jpg);}';

// CITIES
// city 1
animationCSS += '#island #container #mainview #cities .level1 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_1_blue.gif) no-repeat 13px 10px;}';
animationCSS += '#island #container #mainview #cities .level1 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_1_red.gif) no-repeat 13px 10px;}';
animationCSS += '#island #container #mainview #cities .level1 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_1_green.gif) no-repeat 13px 10px;}';
// city 2
animationCSS += '#island #container #mainview #cities .level2 div.ownCityImg, #island #container #mainview #cities .level3 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_2_blue.gif) no-repeat 13px 13px;}';
animationCSS += '#island #container #mainview #cities .level2 div.cityimg, #island #container #mainview #cities .level3 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_2_red.gif) no-repeat 13px 13px;}';
animationCSS += '#island #container #mainview #cities .level2 div.allyCityImg, #island #container #mainview #cities .level3 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_2_green.gif) no-repeat 17px 7px;}';
// city 3
animationCSS += '#island #container #mainview #cities .level4 div.ownCityImg, #island #container #mainview #cities .level5 div.ownCityImg, #island #container #mainview #cities .level6 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_3_blue.gif) no-repeat 13px 13px;}';
animationCSS += '#island #container #mainview #cities .level4 div.cityimg, #island #container #mainview #cities .level5 div.cityimg, #island #container #mainview #cities .level6 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_3_red.gif) no-repeat 13px 13px;}';
animationCSS += '#island #container #mainview #cities .level4 div.allyCityImg, #island #container #mainview #cities .level5 div.allyCityImg, #island #container #mainview #cities .level6 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_3_green.gif) no-repeat 13px 13px;}';
// city 4
animationCSS += '#island #container #mainview #cities .level7 div.cityimg, #island #container #mainview #cities .level8 div.cityimg, #island #container #mainview #cities .level9 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_4_red.gif) no-repeat 11px 13px;}';
animationCSS += '#island #container #mainview #cities .level7 div.allyCityImg, #island #container #mainview #cities .level8 div.allyCityImg, #island #container #mainview #cities .level9 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_4_green.gif) no-repeat 11px 13px;}';
animationCSS += '#island #container #mainview #cities .level7 div.ownCityImg, #island #container #mainview #cities .level8 div.ownCityImg, #island #container #mainview #cities .level9 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_4_blue.gif) no-repeat 11px 13px;}';
// city 5
animationCSS += '#island #container #mainview #cities .level10 div.ownCityImg, #island #container #mainview #cities .level11 div.ownCityImg, #island #container #mainview #cities .level12 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_5_blue.gif) no-repeat 8px 13px;}';
animationCSS += '#island #container #mainview #cities .level10 div.cityimg, #island #container #mainview #cities .level11 div.cityimg, #island #container #mainview #cities .level12 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_5_red.gif) no-repeat 8px 13px;}';
animationCSS += '#island #container #mainview #cities .level10 div.allyCityImg, #island #container #mainview #cities .level11 div.allyCityImg, #island #container #mainview #cities .level12 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_5_green.gif) no-repeat 8px 13px;}';
// city 6
animationCSS += '#island #container #mainview #cities .level13 div.ownCityImg, #island #container #mainview #cities .level14 div.ownCityImg, #island #container #mainview #cities .level15 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_6_blue.gif) no-repeat 4px 7px;}';
animationCSS += '#island #container #mainview #cities .level13 div.cityimg, #island #container #mainview #cities .level14 div.cityimg, #island #container #mainview #cities .level15 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_6_red.gif) no-repeat 4px 7px;}';
animationCSS += '#island #container #mainview #cities .level13 div.allyCityImg, #island #container #mainview #cities .level14 div.allyCityImg, #island #container #mainview #cities .level15 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_6_green.gif) no-repeat 4px 7px;}';
// city 7
animationCSS += '#island #container #mainview #cities .level16 div.ownCityImg, #island #container #mainview #cities .level17 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_7_blue.gif) no-repeat 4px 7px;}';
animationCSS += '#island #container #mainview #cities .level16 div.cityimg, #island #container #mainview #cities .level17 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_7_red.gif) no-repeat 13px 10px;}';
animationCSS += '#island #container #mainview #cities .level16 div.allyCityImg, #island #container #mainview #cities .level17 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_7_green.gif) no-repeat 4px 7px;}';
// city 8
animationCSS += '#island #container #mainview #cities .level18 div.ownCityImg, #island #container #mainview #cities .level19 div.ownCityImg, #island #container #mainview #cities .level20 div.ownCityImg, #island #container #mainview #cities .level21 div.ownCityImg, #island #container #mainview #cities .level22 div.ownCityImg, #island #container #mainview #cities .level23 div.ownCityImg, #island #container #mainview #cities .level24 div.ownCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_8_blue.gif) no-repeat 2px 4px;}';
animationCSS += '#island #container #mainview #cities .level18 div.cityimg, #island #container #mainview #cities .level19 div.cityimg, #island #container #mainview #cities .level20 div.cityimg,#island #container #mainview #cities .level21 div.cityimg, #island #container #mainview #cities .level22 div.cityimg,#island #container #mainview #cities .level23 div.cityimg, #island #container #mainview #cities .level24 div.cityimg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_8_red.gif) no-repeat 2px 4px;}';
animationCSS += '#island #container #mainview #cities .level18 div.allyCityImg,#island #container #mainview #cities .level19 div.allyCityImg, #island #container #mainview #cities .level20 div.allyCityImg,#island #container #mainview #cities .level21 div.allyCityImg, #island #container #mainview #cities .level22 div.allyCityImg,#island #container #mainview #cities .level23 div.allyCityImg, #island #container #mainview #cities .level24 div.allyCityImg {background:url(http://ikariam.bgt-angels.sk/game/animated/city_8_green.gif) no-repeat 2px 4px;}';

// BUILDINGS
animationCSS += '#city #container #mainview #locations .port .buildingimg {left:-65px; top:-35px; width:163px; height:131px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_port.gif);}';
animationCSS += '#city #container #mainview #locations .townHall .buildingimg {left:-5px; top:-60px; width:104px; height:106px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_townhall.gif);}';
animationCSS += '#city #container #mainview #locations .barracks .buildingimg {left:0px; top:-33px; width:100px; height:76px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_barracks.gif);}';
animationCSS += '#city #container #mainview #locations .palace .buildingimg {left:-10px; top:-42px; width:106px; height:97px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_palace.gif);}';
animationCSS += '#city #container #mainview #locations .safehouse .buildingimg {left:5px; top:-15px; width:84px; height:58px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_safehouse.gif);}';
animationCSS += '#city #container #mainview #locations .embassy .buildingimg {left:-5px; top:-31px; width:93px; height:85px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_embassy.gif);}';
animationCSS += '#city #container #mainview #locations .academy .buildingimg {left:-19px; top:-31px; width:123px; height:90px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_academy.gif);}';
animationCSS += '#city #container #mainview #locations .tavern .buildingimg {left:-10px; top:-15px; width:111px; height:65px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_tavern.gif);}';
animationCSS += '#city #container #mainview #locations .workshop-army .buildingimg {left:-19px; top:-31px; width:106px; height:85px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_workshop.gif);}';
animationCSS += '#city #container #mainview #locations .branchOffice .buildingimg {left:-19px; top:-31px; width:109px; height:84px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_branchOffice.gif);}';
animationCSS += '#city #container #mainview #locations .museum .buildingimg {left:-8px; top:-38px; width:105px; height:85px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_museum.gif);}';
animationCSS += '#city #container #mainview #locations .shipyard .buildingimg {left:-22px; top:-20px; width:129px; height:100px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_shipyard.gif);}';
animationCSS += '#city #container #mainview #locations .warehouse .buildingimg {left:0px; top:-33px; width:126px; height:86px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_warehouse.gif);}';
animationCSS += '#city #container #mainview #locations .wall .buildingimg {left:-500px; top:-15px; width:720px; height:137px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_wall.gif);}';
animationCSS += '#city #container #mainview #locations .palaceColony .buildingimg {left:-10px; top:-42px; width:109px; height:95px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/building_palaceColony.gif);}';
// construction site
animationCSS += '#city #container #mainview #locations li .constructionSite {left:-20px; top:-30px; width:114px; height:81px; background-image:url(http://www.magyc.net/ikariam/images/constructionSite.gif);}';

// CITY BACKGROUND
animationCSS += '#city #container .phase1 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase1.gif);}';
animationCSS += '#city #container .phase2,#city #container .phase3 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase2.gif);}';
animationCSS += '#city #container .phase4,#city #container .phase5,#city #container .phase6 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase3.gif);}';
animationCSS += '#city #container .phase7,#city #container .phase8,#city #container .phase9 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase4.gif);}';
animationCSS += '#city #container .phase10,#city #container .phase11,#city #container .phase12 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase5.gif);}';
animationCSS += '#city #container .phase13,#city #container .phase14,#city #container .phase15 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase6.gif);}';
animationCSS += '#city #container .phase16,#city #container .phase17 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase7.gif);}';
animationCSS += '#city #container .phase18,#city #container .phase19 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase7.gif);}';
animationCSS += '#city #container .phase20 {background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/city_phase7.gif);}';

// OTHERS
animationCSS += '#GF_toolbar .newupdate a .textLabel {color: #FFFFFF; text-decoration: blink; font-weight: bold;}';
animationCSS += '#GF_toolbar .update a .textLabel {color: #FFFFFF;}';
animationCSS += '#container2 {position:relative; width:1000px; margin:0 -10px; min-height:1px; z-index:20; background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/bg_content.jpg); text-align:left;}';
animationCSS += '#footer {clear:both; position:relative; width:560px; height:33px; padding:47px 120px 0px 340px; margin:0 -10px; background-image:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/bg_footer6.jpg); font-size:11px; font-weight:bold; color:#edd090; text-align:right;}';
animationCSS += '#header {position:relative; height:336px; margin:0 -132px -189px -132px; background:#f3dcb6 url(http://ikariam.bgt-angels.sk/game/xmas/bg_header.jpg) no-repeat;}';
animationCSS += '#body {background:#ffffff url(http://ikariam.bgt-angels.sk/game/Syberian/bg_stone.jpg) repeat top center; font:normal 12px Arial, Helvetica, sans-serif; text-align:center; color:#542c0f;}';
animationCSS += '#extraDiv2 {position:absolute; top:147px; left:0px; width:100%; height:189px; background:url(http://ikariam.bgt-angels.sk/game/Syberian/bg_ocean.jpg) repeat top center; z-index:1;}';
animationCSS += '#extraDiv1 {position:absolute; top:0px; right:0px; width:100%; height:150px; background:url(http://ikariam.bgt-angels.sk/game/Syberian/bg_sky.jpg) repeat top center; z-index:1;}';
animationCSS += '#breadcrumbs {position:absolute; width:366px; height:22px; top:147px; left:250px; z-index:50; background:url(http://i367.photobucket.com/albums/oo113/ikariam_photos/bg_breadcrumbs7.gif) no-repeat; line-height:20px; font-size:12px; color:#ffdc26; padding:3px 10px;}';

// SELECTORS
animationCSS += '#island #container #mainview #cities .selected div.selectimg {visibility:visible; z-index:-9999;}';
animationCSS += '#island #container #mainview #cities .selectimg {position:absolute; top:22px; left:-17px; visibility:hidden; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/select_city.gif); width:99px; height:52px;}';
animationCSS += '#worldmap_iso #worldmap .islandMarked {position:absolute; bottom:65px; left:80px; width:73px; height:97px; background-image:url(http://ikariam.bgt-angels.sk/game/Syberian/select_island.gif); z-index:2000;}';

//advisors
animationCSS += '#advisors #advCities a.normal {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/mayor.jpg);}';
animationCSS += '#advisors #advMilitary a.normal {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/general.jpg);}';
animationCSS += '#advisors #advResearch a.normal {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/inventor.jpg);}';
animationCSS += '#advisors #advDiplomacy a.normal {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/diplomat.jpg);}';

//active advisors
animationCSS += '#advisors #advCities a.normalactive {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/mayor_active.jpg);}';
animationCSS += '#advisors #advMilitary a.normalactive {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/general_active.jpg);}';
animationCSS += '#advisors #advResearch a.normalactive {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/inventor_active.jpg);}';
animationCSS += '#advisors #advDiplomacy a.normalactive {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/diplomat_active.jpg);}';

//advisors alert
animationCSS += '#advisors #advMilitary a.normalalert {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/general_alert.jpg);}';

//santa's transport
animationCSS += '#globalResources .transporters a {background:transparent url(http://ikariam.bgt-angels.sk/game/xmas/btn_transports.jpg) no-repeat scroll 0 0;height:53px;left:0;text-align:center;top:4px;width:110px;}';

// ICONS
// resources icon
animationCSS += '#container ul.resources .wood {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/wood.png); background-position:4px 2px;}';
animationCSS += '#container ul.resources .marble {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/stone.png); background-position:2px 2px;}';
animationCSS += '#container ul.resources .wine {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/wine.png); background-position:4px 2px;}';
animationCSS += '#container ul.resources .glass {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/glass.png); background-position:4px 2px;}';
animationCSS += '#container ul.resources .sulfur {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/sulphur.png); background-position:2px 2px;}';

// tradegoods icon
animationCSS += '#worldmap_iso #worldmap .tradegood1 {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/wine.png); width:25px; height:25px; bottom:100px; left:50px;}';
animationCSS += '#worldmap_iso #worldmap .tradegood2 {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/stone.png); width:25px; height:25px;}';
animationCSS += '#worldmap_iso #worldmap .tradegood3 {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/glass.png); width:25px; height:25px;}';
animationCSS += '#worldmap_iso #worldmap .tradegood4 {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/sulphur.png); width:25px; height:25px;}';
animationCSS += '#worldmap_iso #worldmap .tradegood5 {background-image:url(http://ikariam.bgt-angels.sk/game/xmas/wood.png); width:25px; height:25px;}';

	PRO_addStyle(animationCSS, document);
	
})()
