var bl=new Array(0,0);

function nea(a){
if (a == 7){
if (bl[0] == 1){
document.write('</td><td width="4%"></tr>');
}
 if (bl[0] == 2){
document.write('</td><td width="4%"></td><td width="44%" style="vertical-align:top;"></td><td width="4%"></tr>');
}
}
else if (bl[0] == 0){
document.write('<tr><td width="4%"></td><td width="44%"  style="vertical-align:top;">');
bl[0]=2;
}
else if (bl[0] == 1){
document.write('</td><td width="4%"></tr><tr><td width="4%"></td><td width="44%"  style="vertical-align:top;">');
bl[0]=2;
}
else if (bl[0] == 2){
document.write('</td><td width="4%"></td><td width="44%" style="vertical-align:top;">');
bl[0]=1;
}
}

function recimg(an,poio,theurl){
if (an == "")
{
var sparti="Your site: "+theurl+" has been successfully added for approval by bleaz Admin Center. ";
alert(sparti);
document.write('<center><b><font size=4>Your link submitted and awaiting approval.</b></center><br>');
}
else
{
var sparti="Your site: "+theurl+" has been successfully added for approval by bleaz Admin Center. Please take a moment to upload your site logo.";
alert(sparti);
document.write('<center><b><font size=4>Your link submitted and awaiting approval. Thank you for choosing the reciprocal option, because of that your site '+theurl+' will have approving priority</b></center><br>');
}
}

function furl() {
var aa=ypob.URL.value;
var aaa="http://www.bleaz.com/55.php?link="+aa;
parent.fmap.location=aaa;
}

function ctitle(a,b)
{
ypob.TITLE.value=a;
ypob.DESCRIPTION.value=b;
cdesc();
}

function cdesc()
{
var zz=ypob.DESCRIPTION.value;
var zzz=zz.length;

if (zzz > 250)
{
var vv=zz.substring(0,250)
ypob.DESCRIPTION.value=vv;
ypob.DLE.value=0;
}
else
{
var cc=250-zzz;
ypob.DLE.value=cc;
}

pamemazi();
}

function pamemazi() {

var zz=ypob.DESCRIPTION.value;
var elmh=zz.match(">");
var elmh1=elmh.length;
if (elmh1 > 0)
{
alert("Character > isn't acceptable in bleaz due to inappropriate use it has been done in the past");
ypob.DESCRIPTION.value="";
ypob.DLE.value=250;
}
var zelmh=zz.match("<");
var zelmh1=elmh.length;
if (zelmh1 > 0)
{
alert("Character < isn't acceptable in bleaz due to inappropriate use it has been done in the past");
ypob.DESCRIPTION.value="";
ypob.DLE.value=250;
}
}
