this.name='shEAMainWnd'; this.focus(); function initPage() { } var currWePageNo = 1; var fUserClick = 0; function wePage(pageNo) { if (pageNo < 1) pageNo = noWEPages; if (pageNo > noWEPages) pageNo = 1; for (i = 0; i < 10; ++i) { pNo = i * 2 + 1; if (gE('weDiv' + pNo) != null) { if (pNo == (pageNo - 1) * 2 + 1) { gE('weDiv' + pNo).style.display = 'inline'; gE('wePSpan' + (i+1)).style.display = 'inline'; gE('wePAnch' + (i+1)).style.display = 'none'; } else { gE('weDiv' + pNo).style.display = 'none'; gE('wePSpan' + (i+1)).style.display = 'none'; gE('wePAnch' + (i+1)).style.display = 'inline'; } } } currWePageNo = pageNo; fUserClick = 5; } function switchWEPage() { if (fUserClick > 0) { fUserClick = fUserClick - 1; } else { wePage(currWePageNo + 1); fUserClick = 0; } setTimeout('switchWEPage()', 5000); } function vHoroscopSite() { var textMsg = "Campurile marcate cu (*) sunt obligatorii"; if($('persoana').value == "") { showToolTipFader(textMsg,$('persoana')); $('persoana').focus(); return false; } if($('email').value == "") { showToolTipFader(textMsg,$('email')); $('email').focus(); return false; } if($('website').value == "") { showToolTipFader(textMsg,$('website')); $('website').focus(); return false; } if(showPerioada==true && $('startM').value=="") { showToolTipFader(textMsg,$('startM')); $('startM').focus(); return false; } if(showPerioada==true && $('startY').value=="") { showToolTipFader(textMsg,$('startY')); $('startY').focus(); return false; } if(showPerioada==true && $('endM').value=="") { showToolTipFader(textMsg,$('endM')); $('endM').focus(); return false; } if(showPerioada==true && $('endY').value=="") { showToolTipFader(textMsg,$('endY')); $('endY').focus(); return false; } document.siteFrm.submit(); }