news-details
"; document.getElementById("prev_next_bottom").innerHTML=document.getElementById("prev_next_top").innerHTML; // clearTimeout(curTimeout); javascript:retainFirstImg(); document.getElementById("mainImageAdDiv").style.display="none"; document.getElementById("imgContent").style.display="block";document.getElementById("DescContent").style.display="block"; } else { document.getElementById("prev_next_top").innerHTML="

"+(imgId+1)+" / "+maxNum+"

"; curTimeout = setTimeout("callDownTimer('"+(time-1)+"', 'call0','firstadChk')", 1000); } } else if(adChk == 'midadChk') { //alert('2'); document.getElementById("prev_next_top").innerHTML="

"+(imgId+1)+" / "+maxNum+"

"; curTimeout = setTimeout("callDownTimer('"+(time-1)+"', 'call0','midadChk')", 1000); } document.getElementById("prev_next_bottom").innerHTML=document.getElementById("prev_next_top").innerHTML; } else { $("#timerSec").html(time-1); curTimeout = setTimeout("callDownTimer('"+(time-1)+"', 'call0','"+adChk+"')", 1000); } $("#mainRightArrowId").attr('onclick','').unbind('click'); $('#mainRightArrowId').click(function(){console.log('PHP 798'); slideOn=0; next(); goNavigation($('#ImgSlideNumber').val(),1); }); $("#mainLeftArrowId").attr('onclick','').unbind('click'); $('#mainLeftArrowId').click(function(){console.log('PHP 791'); firstAd(); slideOn=0; previous(); goNavigation($('#ImgSlideNumber').val(),0); }); //document.getElementById("mainRightArrowId").innerHTML=" "; //document.getElementById("mainLeftArrowId").innerHTML=" "; } else { //alert("else"); document.getElementById("mainImageAdDiv").style.display="none"; document.getElementById("imgContent").style.display="block"; //Added NEw $('.galleryimage').show(); //document.getElementById("DescContent").style.display="block"; $('.gallerytxt').show(); $("#mainRightArrowId").attr('onclick','').unbind('click'); $('#mainRightArrowId').click(function(){ console.log('PHP 813'); slideOn=0; next(); goNavigation($('#ImgSlideNumber').val(),1); }); $("#mainLeftArrowId").attr('onclick','').unbind('click'); $('#mainLeftArrowId').click(function(){ console.log('PHP 812'); firstAd(); slideOn=0; previous(); goNavigation(document.getElementById('ImgSlideNumber').value,0); }); //document.getElementById("mainRightArrowId").innerHTML=" "; //document.getElementById("mainLeftArrowId").innerHTML=" "; scrollBarStatus(); clearTimeout(curTimeout); curTimeout = 0 ; } navigflagged = 0; } catch (e) { } } var adslideArray = [3]; var enableAdArray = ["yes"]; var adTimerArray = ["8000"]; var adSourceArray = [' ']; var adSkipEnabledArray = ['yes']; var adSkipColorArray = ['white']; var adColor = "black"; if ($.inArray(0, adslideArray)>-1) navigflagged = 1;
Related Posts