function rr(min, max) {
    return Math.floor(Math.random() * (max - min + 1)) + min;
}

var sub,rows,cols,tomain,target,txtpos,text,charset,width,txtaslink,film;
var id = 6395;
var platnik = "http://sezonvideo.com/";

sub = "0";
rows = "2";
cols = "1";
tomain = "3";
target = "1";
txtpos = 'O';
film = "";
text = rr(60,70) + "," + rr(60,70);
width = "120";
txtaslink = "1";

var url = platnik+"xjstizer.php?rid="+id+(sub==undefined ? "" : "&sub="+sub)+(tomain==undefined ? "" : "&tomain="+tomain)+(target==undefined ? "" : "&target="+target)+(rows==undefined ? "" : "&rows="+rows)+(cols==undefined ? "" : "&cols="+cols)+(txtpos==undefined ? "" : "&txtpos="+txtpos)+(width==undefined ? "" : "&width="+width)+(txtaslink==undefined ? "" : "&txtaslink="+txtaslink)+(film==undefined ? "" : "&film="+encodeURI(film))+(text==undefined ? "" : "&text="+encodeURI(text));

document.write('<script type="text/javascript" language="JavaScript" src="'+url+'"><\/script>');

