// +----------------------------------------------------------------------+
// | jCorner v0.1                                                         |
// +----------------------------------------------------------------------+
// | Advertisment coded and designed by creativestyle.de                  |
// +----------------------------------------------------------------------+
// | Jaromir Fojcik                                                       |
// | Herzog-Heinrichstr. 1d                                               |
// | D-94086 Bad Griesbach                                                |
// | Telefon: 0951-20879691.                                              |
// | WWW: http://www.creativestyle.de                                      |
// +----------------------------------------------------------------------+

function sizeup987(){
	document.getElementById('jcornerBig').style.top = '0px';
	document.getElementById('jcornerSmall').style.top = '-1000px';
}

function sizedown987(){
	document.getElementById("jcornerSmall").style.top = "0px";
	document.getElementById("jcornerBig").style.top = "-1000px";
}


jcornermt.putObjects = function () {
// <jcornerSmall>
document.write('<div id="jcornerSmall" style="position:absolute;width:'+ jcornermt.small_width +'px;height:'+ jcornermt.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="jcornerSmallObject" width="'+jcornermt.small_width+'" height="'+jcornermt.small_height+'">');

// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ jcornermt.small_path +'?'+ jcornermt.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+jcornermt.small_params+'"/>');
// embed	
document.write('<embed src="'+ jcornermt.small_path + '?' + jcornermt.small_params +'" name="jcornerSmallObject" wmode="transparent" quality="high" width="'+ jcornermt.small_width +'" height="'+ jcornermt.small_height +'" flashvars="'+ jcornermt.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </jcornerSmall>

// <jcornerBig>
document.write('<div id="jcornerBig" style="position:absolute;width:'+ jcornermt.big_width +'px;height:'+ jcornermt.big_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="jcornerBigObject" width="'+ jcornermt.big_width +'" height="'+ jcornermt.big_height +'">');

// object params
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ jcornermt.big_path +'?'+ jcornermt.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ jcornermt.big_params +'"/>');

// embed	
document.write('<embed src="'+ jcornermt.big_path + '?' + jcornermt.big_params +'" id="jcornerBigEmbed" name="jcornerBigObject" wmode="transparent" quality="high" width="'+ jcornermt.big_width +'" height="'+ jcornermt.big_height +'" flashvars="'+ jcornermt.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
// </jcornerBig>

setTimeout('document.getElementById("jcornerBig").style.top = "-1000px";',1000);
}

jcornermt.putObjects(); 
