GoTo = new Array();
GoTo[0]= '/News/PhotoAlbum/061214b0.html';
GoTo[1]= '/News/PhotoAlbum/041213b0.html';
GoTo[2]= '/News/PhotoAlbum/041213b0.html';
GoTo[3]= '/News/PhotoAlbum/041213b0.html';
GoTo[4]= '/News/PhotoAlbum/041213b0.html';
GoTo[5]= '/News/PhotoAlbum/041213b0.html';
GoTo[6]= '/News/PhotoAlbum/041213b0.html';
GoTo[7]= '/News/PhotoAlbum/041213b0.html';
GoTo[8]= '/News/PhotoAlbum/041213b0.html';
GoTo[9]= '/News/PhotoAlbum/041213b0.html';
GoTo[10]= '/News/PhotoAlbum/041213b0.html';
GoTo[11]= '/News/PhotoAlbum/041213b0.html';
GoTo[12]= '/News/PhotoAlbum/061214b0.html';
GoTo[13]= '/News/PhotoAlbum/061214b0.html';
GoTo[14]= '/News/PhotoAlbum/061214b0.html';

var pubcs = 15;
var nr = Math.round((pubcs -1) * Math.random());

var Link = GoTo[nr];
var Image1 = '/Pageangle/pageangle.'+ nr +'.thumb.jpg';
var Image2 = '/Pageangle/pageangle.'+ nr +'.jpg';

var pageangle = new Object();

pageangle.ad_url = escape(Link);

pageangle.small_path = '/resources/small.swf'; 
pageangle.small_image = escape(Image1);
pageangle.small_width = '100';
pageangle.small_height = '100';
pageangle.small_params = 'ico=' + pageangle.small_image;

pageangle.big_path = '/resources/big.swf'; 
pageangle.big_image = escape(Image2);
pageangle.big_width = '500';
pageangle.big_height = '500';
pageangle.big_params = 'big=' + pageangle.big_image + '&ad_url=' + pageangle.ad_url;

function showSelectBoxes(){
	selects = document.getElementsByTagName("select");
	for (i = 0; i != selects.length; i++) {
		selects[i].style.visibility = "visible";
	}
}

function hideSelectBoxes(){
	selects = document.getElementsByTagName("select");
	for (i = 0; i != selects.length; i++) {
		selects[i].style.visibility = "hidden";
	}
}

function sizeup987(){
	document.getElementById('tpageBig').style.top = '0px';
	document.getElementById('tpageSmall').style.top = '-1000px';
	hideSelectBoxes();
}

function sizedown987(){
	document.getElementById("tpageSmall").style.top = '0px';
	document.getElementById("tpageBig").style.top = '-1000px';
	showSelectBoxes();
}

pageangle.putObjects = function () {
// <Small>
document.write('<div id="tpageSmall" style="position:absolute;width:'+ pageangle.small_width +'px;height:'+ pageangle.small_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="tpageSmallObject" width="'+pageangle.small_width+'" height="'+pageangle.small_height+'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ pageangle.small_path +'?'+ pageangle.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+pageangle.small_params+'"/>');
// embed
document.write('<embed src="'+ pageangle.small_path + '?' + pageangle.small_params +'" name="tpageSmallObject" wmode="transparent" quality="high" width="'+ pageangle.small_width +'" height="'+ pageangle.small_height +'" flashvars="'+ pageangle.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </Small>
// <Big>
document.write('<div id="tpageBig" style="position:absolute;width:'+ pageangle.big_width +'px;height:'+ pageangle.big_height +'px;z-index:9999;right:0px;top:0px;">');
// object
document.write('<a href="' + Link + '"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="tpageBigObject" width="'+ pageangle.big_width +'" height="'+ pageangle.big_height +'">');
// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ pageangle.big_path +'?'+ pageangle.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ pageangle.big_params +'"/>');
// embed
document.write('<embed src="'+ pageangle.big_path + '?' + pageangle.big_params +'" id="tpageBigEmbed" name="tpageBigObject" wmode="transparent" quality="high" width="'+ pageangle.big_width +'" height="'+ pageangle.big_height +'" flashvars="'+ pageangle.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></a></div>');
// </Big>
setTimeout('document.getElementById("tpageBig").style.top = "-1000px";',1000);
}
pageangle.putObjects();
