﻿// general function for EasyWay Application
// www.easyway.ir
// 29 May 2009

function movefloat(idc){

document.getElementById(idc).className="floatnews" 

}


function movefloatout(idc){

document.getElementById(idc).className="floatnewsout" 

}

function floatmove(idc,idi,cnt,tpnj){

for (var i=1;i<cnt+1;i++)
if (idc!='DF' + i){

document.getElementById(tpnj + 'DF' + i).className="floatnewsout" ;
document.getElementById(tpnj + 'DIG' + i ).className="floatpichide" ;
}

document.getElementById(idc).className="floatnews" ;
document.getElementById(idi ).className="floatpicshow" ;
}