/* variables */
var animRate = 25;
/* functins */
function createLayer(name, left, top, width, height, visible, ads, lev, isDefault ) {
preLoadImages('ads');
document.writeln('
');
document.writeln('
');
document.writeln(' | ');
document.writeln(' PopinAds ');
document.writeln(' | ');
document.writeln(' ');
document.writeln(' ');
document.writeln(' |
');
if ( ads == 'http://www.clicksor.com' )
{
document.writeln(' ');
document.writeln(' ');
document.writeln(' clicksor_layer_border_color = "#B4D0DC";');
document.writeln(' clicksor_layer_ad_bg = "#ECF8FF";');
document.writeln(' clicksor_layer_ad_link_color = "#0000CC";');
document.writeln(' clicksor_layer_ad_text_color = "#000000";');
document.writeln(' clicksor_text_link_color = "#000FFF";');
document.writeln(' clicksor_text_link_bg = "";');
document.writeln(' clicksor_enable_text_link = false;');
document.writeln(' clicksor_banner_image_banner = true;');
document.writeln(' clicksor_banner_border = "#B4D0DC";');
document.writeln(' clicksor_banner_ad_bg = "#ECF8FF";');
document.writeln(' clicksor_banner_link_color = "#0000CC";');
document.writeln(' clicksor_banner_text_color = "#000000";');
document.writeln(' ');
document.writeln(' ');
document.writeln(' Contextual advertising');
document.writeln(' |
');
document.writeln('
');
}
else
{
if ( isDefault == "y" )
document.writeln(' |
');
else
document.writeln(' |
');
document.writeln(' ');
}
}
function preLoadImages(){
var t='';
document.write(t);
}
function hideLayer(name) {
var layer = getLayer(name);
layer.visibility = "hidden";
layer.display = "none";
}
function showLayer(name) {
var layer = getLayer(name);
layer.visibility = "visible";
layer.display = "";
}
function moveLayer(name, x, y) {
var layer = getLayer(name);
layer.left = x+"px";
layer.top = y+"px";
}
function slideLayer(name, speed){
var stepY = 1;
var stepX = ((win_w-final_left)*stepY)/(win_h-final_top);
var steps = ( Math.sqrt((win_w-final_left)*(win_w-final_left)+(win_h-final_top)*(win_h-final_top)) )/ ( Math.sqrt(stepX*stepX + stepY*stepY) );
var currY = init_top;
var currX = init_left;
if ( init_top > final_top && init_left > final_left )
{
for (var i=0; i final_top && init_left < final_left )
{
for (var i=0; i final_left )
{
for (var i=0; i" + "<\/scr"+"ipt>");