if (!window.Nagi)
	Nagi = function () {
		return {
			logo: {},
			pics: {},
			profile: {}
		};
	};

if (!window.Nagi.logo)
	Nagi.logo = {
		// vars
		'a': '',
		'img': '',
		'href': 'http://www.nagi.ee/',
		'src': 'http://www.nagi.ee/images/nagi/nagilogo.gif',
		'alt': 'Nagi',

		setA: function (val) {
			Nagi.logo.a = val;	
		},
		setImg: function (val) {
			Nagi.logo.img = val;	
		},
		show: function () {
			tmp = '<a href="'+Nagi.logo.href+'" id="NagiLink" '+Nagi.logo.a+'><img src="'+Nagi.logo.src+'" id="NagiLogo" alt="'+Nagi.logo.alt+'" border="0"' +Nagi.logo.img+' width="74" height="30" /></a>';
			document.write(tmp);
		}
	};


if (!window.Nagi.profile)
	Nagi.profile = {
		//vars
		'fname': 'Oliver',
		'lname': 'Järg',
		'username': 'ollu',
		'src': 'http://static1.nagi.ee/1/p/0/128/b903eb4ec24a5de205af560a98e3de7595cf76de.jpg',
		'name': 'Oliver Järg',
		'a': '',
		'img': '',


		setName: function(type) {
			switch (type) {
				case 'fname': 
						Nagi.profile.name = Nagi.profile.fname;
						break;
				case 'lname': 
						Nagi.profile.name = Nagi.profile.lname;
						break;
				case 'username': 
						Nagi.profile.name = Nagi.profile.username;
						break;
				case 'full': 
						Nagi.profile.name = Nagi.profile.fname + ' ' + Nagi.profile.lname + ' alias ' + Nagi.profile.username;
						break;
				case 'name': 
				default:
						Nagi.profile.name = Nagi.profile.fname + ' ' + Nagi.profile.lname;
						break;
			}
		},
		setA: function (val) {
			Nagi.profile.a = val;	
		},
		setImg: function (val) {
			Nagi.profile.img = val;	
		},
		show: function() {
			tmp = '<a href="http://keskus.ee/profile/ollu/"' + '" id="NagiProfileLink'+'" '+Nagi.profile.a+'><img src="' + Nagi.profile.src + '" id="NagiProfileImage" alt="'+Nagi.profile.name+'" border="0"' + Nagi.profile.img+' /></a>';
			document.write(tmp);
		},
		showWithName: function() {
			tmp = '<a href="http://keskus.ee/profile/ollu/"' + '" id="NagiProfileLink_showWithName'+'" '+Nagi.profile.a+'><img src="' + Nagi.profile.src + '" id="NagiProfileImage" alt="'+Nagi.profile.name+'" border="0"' + Nagi.profile.img+' /><span id=\"ProfileWithName\">'+Nagi.profile.name+ '</span></a>';
			document.write(tmp);
		},
		showName: function() {
			tmp = '<a href="http://keskus.ee/profile/ollu/"' + '" id="NagiProfileLink_showName'+'" '+Nagi.profile.a+'><span id="profileName">'+Nagi.profile.name+ '</span></a>';
			document.write(tmp);
		}
};


if (!Nagi.pics)
	Nagi.pics = {
		// vars
		'total': 0,
		'timeout': 0,
		'stat': new Array(),
		'pics': new Array(),
		'randpics': new Array(),
		'count': 0,
		'start': 1,
		'streams': new Array(),
		'context': 0,
		'currentStream': -1,
		'a': '',
		'img': '',

		newContext: function() {
			id = Nagi.pics.streams.length;
			return(id);
		},
		saveContext: function() {
			id = Nagi.pics.context;
			Nagi.pics.streams[id] = {
					'total': Nagi.pics.total, 
					'pics': Nagi.pics.pics,
					'randpics': Nagi.pics.randpics,
					'count': Nagi.pics.count,
					'start': Nagi.pics.start,
					'a': Nagi.pics.a,
					'img': Nagi.pics.img
					};
			return(id);
		},
		setContext: function(id) {
			var old = Nagi.pics.saveContext();
			if (Nagi.pics.streams[id] != null) {
				Nagi.pics.total = Nagi.pics.streams[id].total;
				Nagi.pics.pics = Nagi.pics.streams[id].pics;
				Nagi.pics.randpics = Nagi.pics.streams[id].randpics;
				Nagi.pics.count = Nagi.pics.streams[id].count;
				Nagi.pics.start = Nagi.pics.streams[id].start;
				Nagi.pics.a = Nagi.pics.streams[id].a;
				Nagi.pics.img = Nagi.pics.streams[id].img;
			}else {
				Nagi.pics.total = 0;
				Nagi.pics.pics = new Array();
				Nagi.pics.randpics = new Array();
				Nagi.pics.count = 0;
				Nagi.pics.start = 1;
				Nagi.pics.a = '';
				Nagi.pics.img = '';
			}
			Nagi.pics.context = id;
			return(old);
		},

		firstContext: function() {
			if (Nagi.pics.streams.length > 0) {
				return(0);
			}else
				return(false);
		},

		lastContext: function() {
			if (Nagi.pics.streams.length > 0) {
				return(Nagi.pics.streams.length-1);
			}else
				return(false);
		},

		nextContext: function() {
			if (Nagi.pics.streams.length > Nagi.pics.context + 1) {
				return(Nagi.pics.context+1);
			}else
				return(false);
		},

		getContext: function() {
			return(Nagi.pics.context);
		},

		firstStream: function() {
			if (Nagi.pics.streams.length > 0) {
				Nagi.pics.currentStream = 0;
				Nagi.pics.setContext(Nagi.pics.currentStream);
				return(Nagi.pics.currentStream);
			}else
				return(false);
		},

		lastStream: function() {
			if (Nagi.pics.streams.length > 0) {
				Nagi.pics.currentStream = Nagi.pics.streams.length-1;
				Nagi.pics.setContext(Nagi.pics.currentStream);
				return(Nagi.pics.currentStream);
			}else
				return(false);
		},

		nextStream: function() {
			if (Nagi.pics.streams.length > Nagi.pics.currentStream + 1) {
				Nagi.pics.currentStream++;
				Nagi.pics.setContext(Nagi.pics.currentStream);
				return(Nagi.pics.currentStream);
			}else
				return(false);
		},

		add: function(href, alt, sq,t,s,m,l,o,id) {
			var src = new Array();
			src['sq'] = sq;
			src['t'] = t;
			src['s'] = s;
			src['m'] = m;
			src['l'] = l;
			src['o'] = o;
			Nagi.pics.pics[Nagi.pics.pics.length] = {src: src, href: href, alt: alt,id: id};
			Nagi.pics.total++;
		},
		setA: function (val) {
			Nagi.pics.a = val;	
		},
		setImg: function (val) {
			Nagi.pics.img = val;	
		},
		show: function(size, limit) {
			if (Nagi.pics.start > Nagi.pics.total) return;
			if (Nagi.pics.start + limit > Nagi.pics.total) limit = Nagi.pics.total - Nagi.pics.start + 1;
		
			this.showrange(size,Nagi.pics.start,limit);
			Nagi.pics.start += limit;
		},
		random: function(size, limit) {
			if (Nagi.pics.count >= Nagi.pics.total) return; // no pics left
			if (limit > Nagi.pics.total) limit = Nagi.pics.total;
			for (i=1;i<=limit;i++) {
				j = Math.round(Math.random()*(Nagi.pics.total-1)+1); // 1-100 not 0-100
				while (Nagi.pics.randpics[j] != null && Nagi.pics.count < Nagi.pics.total) {
					j = Math.round(Math.random()*(Nagi.pics.total-1)+1);
				}

				if (Nagi.pics.randpics[j] != null) break; // no pics left
				else {
					Nagi.pics.randpics[j] = j;
					Nagi.pics.count++;
				}
				this.write(size,j);
			}
		},
		showrange: function(size, start, limit) {
			if (start > Nagi.pics.total) return;
			if (start + limit > Nagi.pics.total) limit = Nagi.pics.total - start + 1;
			for (i=start;i<start+limit;i++) {
				this.write(size,i);
			}
		},
		write: function(size,index) {
			pic = Nagi.pics.pics[index-1];
			if (pic == null) return;
			Nagi.pics.stat[Nagi.pics.stat.length] = pic.id;
			tmp = '<a href="' + pic.href + '" id="NagiLink'+i+'" '+Nagi.pics.a+'><img src="' + pic.src[size] + '" id="NagiPic'+i+'" alt="'+pic.alt+'" border="0" '+Nagi.pics.img+' /></a>';
			document.write(tmp);

			// after 2.5 seconds send stat to nagi
			if (Nagi.pics.timeout) window.clearTimeout(Nagi.pics.timeout);
			Nagi.pics.timeout = window.setTimeout(Nagi.pics.sendstat,2500);
		},
		sendstat: function() {
			if (Nagi.pics.stat.length > 0) {
				var q = '';
				for (i=0;i<Nagi.pics.stat.length;i++)
					q += '&id[]='+Nagi.pics.stat[i];
				var query = '?act=addstat'+q;
				var uri = 'http://www.nagi.ee/services/stream/ollu/'+query;
				var tmp = new Image();
				tmp.src = uri;
				Nagi.pics.stat = new Array();
			}
		}
	};



var nagi_pics_id = Nagi.pics.newContext();
var nagi_pics_old_id = Nagi.pics.setContext(nagi_pics_id);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336116/',
				'',
				'http://static1.nagi.ee/i/p/61/16/01336116094c7a_sq.jpg',
				'http://static1.nagi.ee/i/p/61/16/01336116094c7a_t.jpg',
				'http://static1.nagi.ee/i/p/61/16/01336116094c7a_s.jpg',
				'http://static1.nagi.ee/i/p/61/16/01336116094c7a_m.jpg',
				'http://static1.nagi.ee/i/p/61/16/01336116094c7a_l.jpg',
				'http://static1.nagi.ee/i/p/61/16/01336116094c7a_o.jpg',
				'1336116'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336115/',
				'',
				'http://static1.nagi.ee/i/p/61/15/013361154de331_sq.jpg',
				'http://static1.nagi.ee/i/p/61/15/013361154de331_t.jpg',
				'http://static1.nagi.ee/i/p/61/15/013361154de331_s.jpg',
				'http://static1.nagi.ee/i/p/61/15/013361154de331_m.jpg',
				'http://static1.nagi.ee/i/p/61/15/013361154de331_l.jpg',
				'http://static1.nagi.ee/i/p/61/15/013361154de331_o.jpg',
				'1336115'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336114/',
				'',
				'http://static1.nagi.ee/i/p/61/14/013361149a0729_sq.jpg',
				'http://static1.nagi.ee/i/p/61/14/013361149a0729_t.jpg',
				'http://static1.nagi.ee/i/p/61/14/013361149a0729_s.jpg',
				'http://static1.nagi.ee/i/p/61/14/013361149a0729_m.jpg',
				'http://static1.nagi.ee/i/p/61/14/013361149a0729_l.jpg',
				'http://static1.nagi.ee/i/p/61/14/013361149a0729_o.jpg',
				'1336114'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336113/',
				'',
				'http://static1.nagi.ee/i/p/61/13/013361130b5a86_sq.jpg',
				'http://static1.nagi.ee/i/p/61/13/013361130b5a86_t.jpg',
				'http://static1.nagi.ee/i/p/61/13/013361130b5a86_s.jpg',
				'http://static1.nagi.ee/i/p/61/13/013361130b5a86_m.jpg',
				'http://static1.nagi.ee/i/p/61/13/013361130b5a86_l.jpg',
				'http://static1.nagi.ee/i/p/61/13/013361130b5a86_o.jpg',
				'1336113'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336112/',
				'',
				'http://static1.nagi.ee/i/p/61/12/0133611269aeea_sq.jpg',
				'http://static1.nagi.ee/i/p/61/12/0133611269aeea_t.jpg',
				'http://static1.nagi.ee/i/p/61/12/0133611269aeea_s.jpg',
				'http://static1.nagi.ee/i/p/61/12/0133611269aeea_m.jpg',
				'http://static1.nagi.ee/i/p/61/12/0133611269aeea_l.jpg',
				'http://static1.nagi.ee/i/p/61/12/0133611269aeea_o.jpg',
				'1336112'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336111/',
				'',
				'http://static1.nagi.ee/i/p/61/11/01336111e3a577_sq.jpg',
				'http://static1.nagi.ee/i/p/61/11/01336111e3a577_t.jpg',
				'http://static1.nagi.ee/i/p/61/11/01336111e3a577_s.jpg',
				'http://static1.nagi.ee/i/p/61/11/01336111e3a577_m.jpg',
				'http://static1.nagi.ee/i/p/61/11/01336111e3a577_l.jpg',
				'http://static1.nagi.ee/i/p/61/11/01336111e3a577_o.jpg',
				'1336111'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336110/',
				'',
				'http://static1.nagi.ee/i/p/61/10/01336110773e47_sq.jpg',
				'http://static1.nagi.ee/i/p/61/10/01336110773e47_t.jpg',
				'http://static1.nagi.ee/i/p/61/10/01336110773e47_s.jpg',
				'http://static1.nagi.ee/i/p/61/10/01336110773e47_m.jpg',
				'http://static1.nagi.ee/i/p/61/10/01336110773e47_l.jpg',
				'http://static1.nagi.ee/i/p/61/10/01336110773e47_o.jpg',
				'1336110'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336108/',
				'',
				'http://static1.nagi.ee/i/p/61/08/01336108c2e05f_sq.jpg',
				'http://static1.nagi.ee/i/p/61/08/01336108c2e05f_t.jpg',
				'http://static1.nagi.ee/i/p/61/08/01336108c2e05f_s.jpg',
				'http://static1.nagi.ee/i/p/61/08/01336108c2e05f_m.jpg',
				'http://static1.nagi.ee/i/p/61/08/01336108c2e05f_l.jpg',
				'http://static1.nagi.ee/i/p/61/08/01336108c2e05f_o.jpg',
				'1336108'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336109/',
				'',
				'http://static1.nagi.ee/i/p/61/09/013361094dc544_sq.jpg',
				'http://static1.nagi.ee/i/p/61/09/013361094dc544_t.jpg',
				'http://static1.nagi.ee/i/p/61/09/013361094dc544_s.jpg',
				'http://static1.nagi.ee/i/p/61/09/013361094dc544_m.jpg',
				'http://static1.nagi.ee/i/p/61/09/013361094dc544_l.jpg',
				'http://static1.nagi.ee/i/p/61/09/013361094dc544_o.jpg',
				'1336109'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336107/',
				'',
				'http://static1.nagi.ee/i/p/61/07/01336107cf82f1_sq.jpg',
				'http://static1.nagi.ee/i/p/61/07/01336107cf82f1_t.jpg',
				'http://static1.nagi.ee/i/p/61/07/01336107cf82f1_s.jpg',
				'http://static1.nagi.ee/i/p/61/07/01336107cf82f1_m.jpg',
				'http://static1.nagi.ee/i/p/61/07/01336107cf82f1_l.jpg',
				'http://static1.nagi.ee/i/p/61/07/01336107cf82f1_o.jpg',
				'1336107'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336106/',
				'',
				'http://static1.nagi.ee/i/p/61/06/013361068340a5_sq.jpg',
				'http://static1.nagi.ee/i/p/61/06/013361068340a5_t.jpg',
				'http://static1.nagi.ee/i/p/61/06/013361068340a5_s.jpg',
				'http://static1.nagi.ee/i/p/61/06/013361068340a5_m.jpg',
				'http://static1.nagi.ee/i/p/61/06/013361068340a5_l.jpg',
				'http://static1.nagi.ee/i/p/61/06/013361068340a5_o.jpg',
				'1336106'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336105/',
				'',
				'http://static1.nagi.ee/i/p/61/05/01336105e02326_sq.jpg',
				'http://static1.nagi.ee/i/p/61/05/01336105e02326_t.jpg',
				'http://static1.nagi.ee/i/p/61/05/01336105e02326_s.jpg',
				'http://static1.nagi.ee/i/p/61/05/01336105e02326_m.jpg',
				'http://static1.nagi.ee/i/p/61/05/01336105e02326_l.jpg',
				'http://static1.nagi.ee/i/p/61/05/01336105e02326_o.jpg',
				'1336105'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336104/',
				'',
				'http://static1.nagi.ee/i/p/61/04/0133610441324e_sq.jpg',
				'http://static1.nagi.ee/i/p/61/04/0133610441324e_t.jpg',
				'http://static1.nagi.ee/i/p/61/04/0133610441324e_s.jpg',
				'http://static1.nagi.ee/i/p/61/04/0133610441324e_m.jpg',
				'http://static1.nagi.ee/i/p/61/04/0133610441324e_l.jpg',
				'http://static1.nagi.ee/i/p/61/04/0133610441324e_o.jpg',
				'1336104'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336103/',
				'',
				'http://static1.nagi.ee/i/p/61/03/01336103e4b4db_sq.jpg',
				'http://static1.nagi.ee/i/p/61/03/01336103e4b4db_t.jpg',
				'http://static1.nagi.ee/i/p/61/03/01336103e4b4db_s.jpg',
				'http://static1.nagi.ee/i/p/61/03/01336103e4b4db_m.jpg',
				'http://static1.nagi.ee/i/p/61/03/01336103e4b4db_l.jpg',
				'http://static1.nagi.ee/i/p/61/03/01336103e4b4db_o.jpg',
				'1336103'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336102/',
				'',
				'http://static1.nagi.ee/i/p/61/02/01336102f579e9_sq.jpg',
				'http://static1.nagi.ee/i/p/61/02/01336102f579e9_t.jpg',
				'http://static1.nagi.ee/i/p/61/02/01336102f579e9_s.jpg',
				'http://static1.nagi.ee/i/p/61/02/01336102f579e9_m.jpg',
				'http://static1.nagi.ee/i/p/61/02/01336102f579e9_l.jpg',
				'http://static1.nagi.ee/i/p/61/02/01336102f579e9_o.jpg',
				'1336102'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336101/',
				'',
				'http://static1.nagi.ee/i/p/61/01/01336101724952_sq.jpg',
				'http://static1.nagi.ee/i/p/61/01/01336101724952_t.jpg',
				'http://static1.nagi.ee/i/p/61/01/01336101724952_s.jpg',
				'http://static1.nagi.ee/i/p/61/01/01336101724952_m.jpg',
				'http://static1.nagi.ee/i/p/61/01/01336101724952_l.jpg',
				'http://static1.nagi.ee/i/p/61/01/01336101724952_o.jpg',
				'1336101'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336100/',
				'',
				'http://static1.nagi.ee/i/p/61/00/0133610004f23f_sq.jpg',
				'http://static1.nagi.ee/i/p/61/00/0133610004f23f_t.jpg',
				'http://static1.nagi.ee/i/p/61/00/0133610004f23f_s.jpg',
				'http://static1.nagi.ee/i/p/61/00/0133610004f23f_m.jpg',
				'http://static1.nagi.ee/i/p/61/00/0133610004f23f_l.jpg',
				'http://static1.nagi.ee/i/p/61/00/0133610004f23f_o.jpg',
				'1336100'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336099/',
				'',
				'http://static1.nagi.ee/i/p/60/99/01336099bafcbe_sq.jpg',
				'http://static1.nagi.ee/i/p/60/99/01336099bafcbe_t.jpg',
				'http://static1.nagi.ee/i/p/60/99/01336099bafcbe_s.jpg',
				'http://static1.nagi.ee/i/p/60/99/01336099bafcbe_m.jpg',
				'http://static1.nagi.ee/i/p/60/99/01336099bafcbe_l.jpg',
				'http://static1.nagi.ee/i/p/60/99/01336099bafcbe_o.jpg',
				'1336099'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336097/',
				'',
				'http://static1.nagi.ee/i/p/60/97/01336097ff05c3_sq.jpg',
				'http://static1.nagi.ee/i/p/60/97/01336097ff05c3_t.jpg',
				'http://static1.nagi.ee/i/p/60/97/01336097ff05c3_s.jpg',
				'http://static1.nagi.ee/i/p/60/97/01336097ff05c3_m.jpg',
				'http://static1.nagi.ee/i/p/60/97/01336097ff05c3_l.jpg',
				'http://static1.nagi.ee/i/p/60/97/01336097ff05c3_o.jpg',
				'1336097'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336096/',
				'',
				'http://static1.nagi.ee/i/p/60/96/013360960c5a84_sq.jpg',
				'http://static1.nagi.ee/i/p/60/96/013360960c5a84_t.jpg',
				'http://static1.nagi.ee/i/p/60/96/013360960c5a84_s.jpg',
				'http://static1.nagi.ee/i/p/60/96/013360960c5a84_m.jpg',
				'http://static1.nagi.ee/i/p/60/96/013360960c5a84_l.jpg',
				'http://static1.nagi.ee/i/p/60/96/013360960c5a84_o.jpg',
				'1336096'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336094/',
				'',
				'http://static1.nagi.ee/i/p/60/94/01336094bf8fec_sq.jpg',
				'http://static1.nagi.ee/i/p/60/94/01336094bf8fec_t.jpg',
				'http://static1.nagi.ee/i/p/60/94/01336094bf8fec_s.jpg',
				'http://static1.nagi.ee/i/p/60/94/01336094bf8fec_m.jpg',
				'http://static1.nagi.ee/i/p/60/94/01336094bf8fec_l.jpg',
				'http://static1.nagi.ee/i/p/60/94/01336094bf8fec_o.jpg',
				'1336094'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336091/',
				'',
				'http://static1.nagi.ee/i/p/60/91/013360914fb503_sq.jpg',
				'http://static1.nagi.ee/i/p/60/91/013360914fb503_t.jpg',
				'http://static1.nagi.ee/i/p/60/91/013360914fb503_s.jpg',
				'http://static1.nagi.ee/i/p/60/91/013360914fb503_m.jpg',
				'http://static1.nagi.ee/i/p/60/91/013360914fb503_l.jpg',
				'http://static1.nagi.ee/i/p/60/91/013360914fb503_o.jpg',
				'1336091'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336092/',
				'',
				'http://static1.nagi.ee/i/p/60/92/01336092a31de9_sq.jpg',
				'http://static1.nagi.ee/i/p/60/92/01336092a31de9_t.jpg',
				'http://static1.nagi.ee/i/p/60/92/01336092a31de9_s.jpg',
				'http://static1.nagi.ee/i/p/60/92/01336092a31de9_m.jpg',
				'http://static1.nagi.ee/i/p/60/92/01336092a31de9_l.jpg',
				'http://static1.nagi.ee/i/p/60/92/01336092a31de9_o.jpg',
				'1336092'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336093/',
				'',
				'http://static1.nagi.ee/i/p/60/93/01336093b20da3_sq.jpg',
				'http://static1.nagi.ee/i/p/60/93/01336093b20da3_t.jpg',
				'http://static1.nagi.ee/i/p/60/93/01336093b20da3_s.jpg',
				'http://static1.nagi.ee/i/p/60/93/01336093b20da3_m.jpg',
				'http://static1.nagi.ee/i/p/60/93/01336093b20da3_l.jpg',
				'http://static1.nagi.ee/i/p/60/93/01336093b20da3_o.jpg',
				'1336093'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336090/',
				'',
				'http://static1.nagi.ee/i/p/60/90/013360905dde95_sq.jpg',
				'http://static1.nagi.ee/i/p/60/90/013360905dde95_t.jpg',
				'http://static1.nagi.ee/i/p/60/90/013360905dde95_s.jpg',
				'http://static1.nagi.ee/i/p/60/90/013360905dde95_m.jpg',
				'http://static1.nagi.ee/i/p/60/90/013360905dde95_l.jpg',
				'http://static1.nagi.ee/i/p/60/90/013360905dde95_o.jpg',
				'1336090'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336089/',
				'',
				'http://static1.nagi.ee/i/p/60/89/01336089a24783_sq.jpg',
				'http://static1.nagi.ee/i/p/60/89/01336089a24783_t.jpg',
				'http://static1.nagi.ee/i/p/60/89/01336089a24783_s.jpg',
				'http://static1.nagi.ee/i/p/60/89/01336089a24783_m.jpg',
				'http://static1.nagi.ee/i/p/60/89/01336089a24783_l.jpg',
				'http://static1.nagi.ee/i/p/60/89/01336089a24783_o.jpg',
				'1336089'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336088/',
				'',
				'http://static1.nagi.ee/i/p/60/88/01336088291883_sq.jpg',
				'http://static1.nagi.ee/i/p/60/88/01336088291883_t.jpg',
				'http://static1.nagi.ee/i/p/60/88/01336088291883_s.jpg',
				'http://static1.nagi.ee/i/p/60/88/01336088291883_m.jpg',
				'http://static1.nagi.ee/i/p/60/88/01336088291883_l.jpg',
				'http://static1.nagi.ee/i/p/60/88/01336088291883_o.jpg',
				'1336088'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336087/',
				'',
				'http://static1.nagi.ee/i/p/60/87/01336087ed71b8_sq.jpg',
				'http://static1.nagi.ee/i/p/60/87/01336087ed71b8_t.jpg',
				'http://static1.nagi.ee/i/p/60/87/01336087ed71b8_s.jpg',
				'http://static1.nagi.ee/i/p/60/87/01336087ed71b8_m.jpg',
				'http://static1.nagi.ee/i/p/60/87/01336087ed71b8_l.jpg',
				'http://static1.nagi.ee/i/p/60/87/01336087ed71b8_o.jpg',
				'1336087'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336086/',
				'',
				'http://static1.nagi.ee/i/p/60/86/01336086c53e29_sq.jpg',
				'http://static1.nagi.ee/i/p/60/86/01336086c53e29_t.jpg',
				'http://static1.nagi.ee/i/p/60/86/01336086c53e29_s.jpg',
				'http://static1.nagi.ee/i/p/60/86/01336086c53e29_m.jpg',
				'http://static1.nagi.ee/i/p/60/86/01336086c53e29_l.jpg',
				'http://static1.nagi.ee/i/p/60/86/01336086c53e29_o.jpg',
				'1336086'
			);
Nagi.pics.add(
				'http://www.nagi.ee/photos/ollu/1336085/',
				'',
				'http://static1.nagi.ee/i/p/60/85/0133608585fd69_sq.jpg',
				'http://static1.nagi.ee/i/p/60/85/0133608585fd69_t.jpg',
				'http://static1.nagi.ee/i/p/60/85/0133608585fd69_s.jpg',
				'http://static1.nagi.ee/i/p/60/85/0133608585fd69_m.jpg',
				'http://static1.nagi.ee/i/p/60/85/0133608585fd69_l.jpg',
				'http://static1.nagi.ee/i/p/60/85/0133608585fd69_o.jpg',
				'1336085'
			);
Nagi.pics.setContext(nagi_pics_old_id);
