After ADHM stir, MNS wants traders to ‘sacrifice’ biz with Pak

Posted on Oct 23 2016 - 11:31pm
34
--------- Advertisement ---------

------------------

After ADHM stir, MNS wants traders to 'sacrifice' biz with Pak lyrics, song mp3 download, family, wedding pictures, age, height, weight, biography

/gi,bO=/^(?:select|textarea)/i,bP=/s+/,bQ=/([?&])_=[^&]*/,bR=/^([w+.-]+:)(?://([^/?#:]*)(?::(d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=[“*/”]+[“*”];try{bV=e.href}catch(bY){bV=c.createElement(“a”),bV.href=””,bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!=”string”&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(” “);if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h=”GET”;c&&(f.isFunction(c)?(d=c,c=b):typeof c==”object”&&(c=f.param(c,f.ajaxSettings.traditional),h=”POST”));var i=this;f.ajax({url:a,type:h,dataType:”html”,data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f(“

“).append(c.replace(bN,””)).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,”rn”)}}):{name:b.name,value:c.replace(bF,”rn”)}}).get()}}),f.each(“ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend”.split(” “),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each([“get”,”post”],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,”script”)},getJSON:function(a,b,c){return f.get(a,b,c,”json”)},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:”GET”,contentType:”application/x-www-form-urlencoded”,processData:!0,async:!0,accepts:{xml:”application/xml, text/xml”,html:”text/html”,text:”text/plain”,json:”application/json, text/javascript”,”*”:bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:”responseXML”,text:”responseText”},converters:{“* text”:a.String,”text html”:!0,”text json”:f.parseJSON,”text xml”:f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||””,v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a0&&(q=setTimeout(function(){v.abort(“timeout”)},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s1){ this.autoruntimer=setInterval(function(){tabinstance.autorun()}, this.automodeperiod) } } //END int() function } //END Prototype assignment function mainmenu(){ $(” #nav ul “).css({display: “none”}); // Opera Fix $(” #nav li”).hover(function(){ $(this).find(‘ul:first’).css({visibility: “visible”,display: “none”}).show(400); },function(){ $(this).find(‘ul:first’).css({visibility: “hidden”}); }); } $(document).ready(function(){ mainmenu(); }); //function for removing white spaces function Trim(txt){ if(txt.split(” “).join(“”).length == 0) return true; else return false; } function trim_str(str) { return str.split(” “).join(“”); } //function to alert error messages for text fields function retunMessage(message,fldId) { alert(message); document.getElementById(fldId).focus(); return false; } //function to check empty text fields function nullCheck(fldId,message) { var objValue = document.getElementById(fldId).value; if( (objValue == “”) || (Trim(objValue))) retunMessage(message,fldId); else return true; } //function to check length function checkLen(len,fldId,message) { var objValue = document.getElementById(fldId).value; var length = objValue.length if(length []{}`;()@$#%_^”; var string = document.getElementById(fldId).value; var leng = string.length; for(i=0; i;’:”[]{}]+)$/; //only letters and numbers tinyMCE.triggerSave(); var obj = eval(‘document.’ + formname); subject = obj.subject.value; if(!nullCheck(“subject”,”Please enter title”) || !isValidName(‘subject’) ) { return false; } /* alert(“subject=”+subject); if( !keyRegex.test(subject)){ alert(“Please enter valid title”); return false; } */ if(countWords(obj.summary.value)>2000){ alert(‘You can enter maximum of 2000 words into the summary’); obj.summary.focus(); return false; } if( (obj.image_type[1].checked) && (obj.image_file.value == ”) && (obj.img_path.value == ”)){ alert(‘Please select photo’); obj.image_file.focus(); return false; } if(obj.image_file.value != ”){ imagePath = obj.image_file.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } var s=obj.content.value; if(s.indexOf(‘/g,””); s=s.replace(//g,””); s=s.replace(/[ ]/g,””); } s = s.replace(/ /g,”); s=Trimstr(s); if(s.length==0){ alert(“Please enter the content”) //obj.content.focus(); return false; } if(s.length>35000){ alert(“Please enter the content not more than 35000 characters”) //obj.content.focus(); return false; } if (obj.category_id.value==0){ alert(“Select the category”); obj.category_id.focus(); return false; } if( (obj.publish_date.value != ”) || (obj.publish_end_date.value != ”) ) { var today = new Date(); var month = today.getMonth() + 1; if (month supplements, 69 -> news , 105 -> movie guide if(id == 120 || id == 69 || id == 105 || id == 125 || id == 121 || id == 127 || id == 126 || id == 124 || id == 122 || id == 123){ document.getElementById(‘parent_id’).disabled = true; }else{ document.getElementById(‘parent_id’).disabled = false; } //document.getElementById(‘parent_id’).selectedIndex = parent_id; //document.formAdd.parent_id.selectedIndex = parent_id; } function resetMessage(){ if(document.getElementById(‘ErrorMessage’)) document.getElementById(‘ErrorMessage’).innerHTML = ”; } function strpos( haystack, needle, offset){ // http://kevin.vanzonneveld.net // + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) // * example 1: strpos(‘Kevin van Zonneveld’, ‘e’, 5); // * returns 1: 14 var i = haystack.indexOf( needle, offset ); // returns -1 return i >= 0 ? i : -1; } function showHide(theid){ var browser=navigator.appName; if (browser==’Netscape’){ if (document.getElementById){ var switch_id = document.getElementById(theid); if (switch_id.className != ‘ShowRowFireFox’){ document.getElementById(theid).className = ‘ShowRowFireFox’; } else{ document.getElementById(theid).className = ‘Hide’; } } } else if (document.getElementById){ var switch_id = document.getElementById(theid); if (switch_id.className != ‘Show’){ document.getElementById(theid).className = ‘Show’; } else{ document.getElementById(theid).className = ‘Hide’; } } } //Photo validation function validatePhoto(formname){ var obj = eval(‘document.’ + formname); var id = obj.id.value; if(id > 0){ if(obj.photo_file.value != ”){ imagePath = obj.photo_file.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } if(obj.title.value == ”){ alert(“Please enter photo title”); obj.title.focus(); return false; } if (!isValidString(‘title’,’Please enter valid title’)){ return false; } if(obj.copyright.value != ”){ if(obj.copyright.value.length>99) { alert(“Copyright cannot exceed more than 100 characters”); obj.copyright.focus(); return false; } } } else{ if(obj.photo_file.value == ”){ if(obj.photo_file.value == ”){ alert(“Please select photo”); return false; } } if(obj.photo_file.value != ”){ imagePath = obj.photo_file.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } if(obj.title.value == ”){ alert(“Please enter photo title”); obj.title.focus(); return false; } if (!isValidString(‘title’,’Please enter valid title’)){ return false; } if(obj.copyright.value != ”){ if(obj.copyright.value.length>99) { alert(“Copyright cannot exceed more than 100 characters”); obj.copyright.focus(); return false; } } } IGNORE_UNLOAD = true; return true; } function validateWeather(formname){ var obj = eval(‘document.’ + formname); var id = obj.id.value; if(id ==””) { if(!nullCheck(“summary”,”Please enter summary”)) { return false; } if(obj.summary.value != ”){ if(obj.summary.value.length>9999) { alert(“Summary cannot exceed more than 10000 characters”); obj.summary.focus(); return false; } } if(obj.temp_max.value != ” && isNaN(obj.temp_max.value)){ alert(“please enter number only as maximum temperature”); return false; } if(obj.temp_min.value != ” && isNaN(obj.temp_min.value)){ alert(“please enter number only as minimum temperature”); return false; } if(obj.image_big.value == ”){ alert(“Please select Detailed page image”); return false; } if(obj.image_big.value != ”){ imagePath = obj.image_big.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } if(obj.publish_date.value == ”){ alert(“Please select date”); obj.publish_date.focus(); return false; } } else { if(obj.summary.value == ”){ alert(“Please enter summary”); obj.summary.focus(); return false; } if(obj.summary.value != ”){ if(obj.summary.value.length>9999) { alert(“Summary cannot exceed more than 10000 characters”); obj.summary.focus(); return false; } } if(obj.temp_max.value != ” && isNaN(obj.temp_max.value)){ alert(“please enter number only as maximum temperature”); return false; } if(obj.temp_min.value != ” && isNaN(obj.temp_min.value)){ alert(“please enter number only as minimum temperature”); return false; } if(obj.image_big.value != ”){ imagePath = obj.image_big.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } } //} IGNORE_UNLOAD = true; return true; } function validateCartoon(formname){ var obj = eval(‘document.’ + formname); var id = obj.id.value; if(id ==””) { if(obj.title.value == ”){ alert(“Please enter title”); obj.title.focus(); return false; } if(obj.description.value != ”){ if(obj.description.value.length>4999) { alert(“Description cannot exceed more than 5000 characters”); obj.description.focus(); return false; } } if(obj.image_big.value == ”){ alert(“Please select Detailed page image”); return false; } if(obj.image_big.value != ”){ imagePath = obj.image_big.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } if(obj.publish_date.value == ”){ alert(“Please enter date”); obj.publish_date.focus(); return false; } } else { if(obj.title.value == ”){ alert(“Please enter title”); obj.title.focus(); return false; } if(obj.image_big.value != ”){ imagePath = obj.image_big.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } } //} IGNORE_UNLOAD = true; return true; } function checkStartDate(datestr){ var orgdate=datestr.split(‘ ‘); var dte=orgdate[0].split(‘-‘); var dt= new Date(); dt.setFullYear(dte[0]); dt.setMonth(dte[1]-1); dt.setDate(dte[2]); var day=dt.getDate(); var dayofweek=dt.getDay(); if(dayofweek == 0)return true; return false; } function checkEndDate(datestr){ var orgdate=datestr.split(‘ ‘); var dte=orgdate[0].split(‘-‘); var dt= new Date(); dt.setFullYear(dte[0]); dt.setMonth(dte[1]-1); dt.setDate(dte[2]); var day=dt.getDate(); var dayofweek=dt.getDay(); if(dayofweek == 6)return true; return false; } function validateDates(obj){ var start_date=obj.start_date.value; var end_date=obj.end_date.value; var year=obj.year.value; var day=obj.day.value; if(!obj.func[0].checked && !obj.func[1].checked && !obj.func[2].checked ){ alert(“Please select Yearly / Weekly / Daily”); return false; } if(obj.func[0].checked){ if(year==”){ alert(‘Please select the year’); return false; } } if(obj.func[1].checked){ if(start_date==”){ alert(‘Select start date (Sunday)’); return false; } if(start_date!=”){ if(!checkStartDate(start_date)){ alert(‘Select valid start date of week(Sunday)’); return false; } } if(end_date==”){ alert(‘Select end date (Saturday)’); return false; } if(end_date!=”){ if(!checkEndDate(end_date)){ alert(‘Select valid end date of week(Saturday)’); return false; } } var one_day = 1000 * 60 * 60 * 24 ; var start_dd = start_date.split(” “); var dat1 = start_dd[0].split(“-“); if(dat1[1]7 || days_diff == 0 || days_diff 4999) { alert(“Description cannot exceed more than 5000 characters”); eval(‘obj.description_’+tag+’.focus()’); return false; } } if(obj.start_date.value!=”){ if(eval(‘obj.gem_’+tag+’.value’)==”){ alert(‘Enter ‘+tag+’ gem value’); eval(‘obj.gem_’+tag+’.focus()’); return false; } if(Trim(eval(‘obj.gem_’+tag+’.value’))){ alert(‘Enter ‘+tag+’ valid gem value’); eval(‘obj.gem_’+tag+’.focus()’); return false; } if (!alphanumeric(‘gem_’+tag)){ return false; } } if(eval(‘obj.oldimage_’+tag+’.value’)==”){ if(eval(‘obj.image_’+tag+’.value’)!=”){ imagePath = eval(‘obj.image_’+tag+’.value’); var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“In”+” “+tag+” “+”Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } } if(eval(‘obj.image_’+tag+’.value’)!=”){ imagePath = eval(‘obj.image_’+tag+’.value’); var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“In”+” ” +tag+” “+”Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } //} if(obj.day.value!=” || obj.start_date.value!=” ){ if(eval(‘obj.color_’+tag+’.value’)==”){ alert(‘Enter ‘+tag+’ color value’); eval(‘obj.color_’+tag+’.focus()’); return false; } if(Trim(eval(‘obj.color_’+tag+’.value’))){ alert(‘Enter ‘+tag+’ valid color’); eval(‘obj.color_’+tag+’.focus()’); return false; } if (!alphanumeric(‘color_’+tag)){ return false; } if(eval(‘obj.number_’+tag+’.value’)==”){ alert(‘Enter ‘+tag+’ number’); eval(‘obj.number_’+tag+’.focus()’); return false; } if(!isInteger(‘number_’+tag)){ //alert(‘Enter ‘+tag+’ number’); //eval(‘obj.number_’+tag+’.focus()’); return false; } } } if(obj.astro_image_id.value == ”){ alert(“please select a astrologer image”); return false; } return true; } function validateRegistration(val) { if(val != ‘1’ && val != ‘2’) { if(!nullCheck(“register_username”,”Please enter user name”) || !checkLen(4,”register_username”,”Username should contain minimum 4 characters”) || !validateUserName(‘register_username’)) { return false; } if(!nullCheck(“register_password”,”Please enter password”) || !checkLen(6,”register_password”,”Password should contain minimum 6 characters”) || !nullCheck(“cpassword”,”Please enter confirm password”) || !equal(“register_password”,”cpassword”,”Passwords do not Matched”)) return false; } if(val != ‘2’ && val != ‘3’) { if(document.getElementById(‘user_type’) && document.getElementById(‘user_type’).selectedIndex == ‘0’) { alert(“Please select user type”); return false; } } if(!nullCheck(“first_name”,”Please enter first name”) || !alphaSpaceOnly(“first_name”)) { return false; } if(val == ‘4’){ if(!nullCheck(“last_name”,”Please enter last name”) || !alphaSpaceOnly(“last_name”)) { return false; } if(!nullCheck(“email”,”Please enter email”) || !emailValidation(“email”) ) { return false; } if(document.getElementById(‘zip’).value != ”){ var s = document.getElementById(‘zip’).value; if (isNaN(s)) { alert(“Please Enter Numbers Only in Zipcode”); return false; } } } if(document.getElementById(‘phone1_1’).value != ”){ if(!isPhoneValid(“phone1_1″)){ return false; } } if(document.getElementById(‘last_name’).value != ”) { if(!alphaSpaceOnly(“last_name”)) return false; } if(val != ‘4’){ if(!nullCheck(“email”,”Please enter email”) || !emailValidation(“email”) || !isPhoneValid(“phone1_1″)) { return false; } if(document.getElementById(‘address1’).value == ”) { alert(“Please enter address1”); document.getElementById(‘address1’).focus(); return false; } if(document.getElementById(‘country_id’).selectedIndex == ‘0’) { alert(“Please select country”); return false; } if(document.getElementById(‘state_id’).selectedIndex == ‘0’) { alert(“Please select state”); return false; } if(document.getElementById(‘city_id’).value == ”) { alert(“Please enter city”); document.getElementById(‘city_id’).focus(); return false; } if(!nullCheck(“zip”,”Please enter zip”)) { return false; } } //IGNORE_UNLOAD = true; return true; } function validateChangePassword(frm) { if(frm.current_password.value == ”) { alert(‘Please enter current password’); return false; } if(frm.new_password.value == ”) { alert(‘Please enter new password’); return false; } else if(frm.new_password.value.length 8){ alert(“please enter 8 digits only in bse sensex”); obj.bse_sensex.focus(); return false; } } } else{ alert(“please enter valid bse sensex”); obj.bse_sensex.focus(); return false; } } if(!nullCheck(“bse_difference”,”Please enter bse difference”)) { obj.bse_difference.focus(); return false; } if(obj.bse_difference.value != ” || Trim(obj.bse_difference.value)){ obj.bse_difference.value = obj.bse_difference.value.split(“,”).join(“”); if(!isNaN(obj.bse_difference.value)){ if(obj.bse_difference.value.lastIndexOf(“.”) == ‘-1’){ if(obj.bse_difference.value.length > 8){ alert(“please enter 8 digits only in bse difference”); obj.bse_difference.focus(); return false; } } } else{ alert(“please enter valid bse difference”); obj.bse_difference.focus(); return false; } } if(!nullCheck(“nse_sensex”,”Please enter nse sensex”)) { obj.nse_sensex.focus(); return false; } if(obj.nse_sensex.value != ” || Trim(obj.nse_sensex.value)){ obj.nse_sensex.value = obj.nse_sensex.value.split(“,”).join(“”); if(!isNaN(obj.nse_sensex.value)){ if(obj.nse_sensex.value.lastIndexOf(“.”) == ‘-1’){ if(obj.nse_sensex.value.length > 8){ alert(“please enter 8 digits only in nse sensex”); obj.nse_sensex.focus(); return false; } } } else{ alert(“please enter valid nse sensex”); obj.nse_sensex.focus(); return false; } } if(!nullCheck(“nse_difference”,”Please enter nse difference”)) { obj.nse_difference.focus(); return false; } if(obj.nse_difference.value != ” || Trim(obj.nse_difference.value)){ obj.nse_difference.value = obj.nse_difference.value.split(“,”).join(“”); if(!isNaN(obj.nse_difference.value)){ if(obj.nse_difference.value.lastIndexOf(“.”) == ‘-1’){ if(obj.nse_difference.value.length > 8){ alert(“please enter 8 digits only in nse difference”); obj.nse_difference.focus(); return false; } } } else{ alert(“please enter valid nse difference”); obj.nse_difference.focus(); return false; } } var cnt=1; for (var i=0;i 8){ alert(“please enter 8 digits only”); return false; } } } else if(trim(obj.elements[i].value) != “NA”){ alert(“please enter valid price”); return false; } } cnt++; } } if(!nullCheck(“publish_date”,”Please enter publish date”)) { return false; } return true; // } } /******************************************************************************* * To work with cancel button for yearly calender * @author Smitha R- Greynium Information Technologies Pvt. Ltd. | 10/07/2008 *********************************************************************************/ function cancelYearlyCalender(str){ IGNORE_UNLOAD = true; var msg1 = ‘Are you sure want to cancel?’; if (confirm(msg1)){ document.location.href=’index.php’; return true; }else{ return false; } } /*function isValidName(fldId,msg){ var obj = document.getElementById(fldId).value; var pattern=/[*/ //:”> 3000 ) { alert(‘Message cannot exceed more than 3000 characters’); frmEmail.message.focus(); frmEmail.message.select(); return false; } if( !nullCheck(‘captcha’,’Please enter the code’)){ return false; } return true; } function validateCalender(formname){ var obj = eval(‘document.’ + formname); var id = obj.id.value; if(id ==””) { if(obj.year.value == ”){ alert(“Please select year”); obj.year.focus(); return false; } if(obj.photo_file.value == ”){ alert(“Please select photo”); return false; } if(obj.photo_file.value != ”){ imagePath = obj.photo_file.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } } else { if(obj.year.value == ”){ alert(“Please enter year”); obj.year.focus(); return false; } if(obj.photo_file.value == ”){ alert(“Please select photo”); return false; } if(obj.photo_file.value != ”){ imagePath = obj.photo_file.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } } //} IGNORE_UNLOAD = true; return true; } function tellAFriend() { var urlAddress = window.location.href; var emailMatch = /^(([a-zA-Z0-9])+([.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(.[a-zA-Z0-9_-]+)+(;)*)+$/; var mail_to= document.getElementById(‘friend_email’).value; var mail_from = document.getElementById(‘your_name’).value; var mail_body = document.getElementById(‘message’).value; document.getElementById(‘addr’).value = window.location.href; if(frmEmail.your_name.value.length == 0 ) { alert(‘Please Enter Your Name’); frmEmail.your_name.focus(); frmEmail.your_name.select(); return false; } else if(frmEmail.friend_email.value.length == 0 || !emailMatch.test(frmEmail.friend_email.value)) { alert(‘Please Enter valid friends mail id’); frmEmail.friend_email.focus(); frmEmail.friend_email.select(); return false; } else if(frmEmail.message.value.length 3000 ) { alert(‘Message cannot exceed more than 3000 characters’); frmEmail.message.focus(); frmEmail.message.select(); return false; } else if(frmEmail.scode.value == ”) { alert(‘Please enter Security Code.’); frmEmail.scode.focus(); frmEmail.scode.select(); return false; } return true; } /*—————————————————————— Poll front end Module ——————————————————————*/ function viewPollResult(value, id){ var url = “weekly_polls.php?q=”+value+”&id=”+id; AjaxRequest.get( { ‘url’:url ,’onSuccess’:function(req){ document.getElementById(‘show_poll’).innerHTML=req.responseText; } } ); } function setPollOptionsFlag(){ if(document.getElementById(‘options_flag’).value==0){ document.getElementById(‘options_flag’).value=1; return 0 } else{ document.getElementById(‘options_flag’).value=1; return 0 } } function setPollViewFlag(){ if(document.getElementById(‘view_flag’).value==1){ document.getElementById(‘view_flag’).value=0; document.frmPolls.action=”index.php”; document.frmPolls.submit(); return false; } return false; } function validatePolls(url){ if(document.getElementById(‘user_id’).value==”){ document.location = url+’login.php’; return false; } if(document.getElementById(‘options_flag’).value==0){ alert(“Please select an option”); return false; } return votePoll(url) } function votePoll(base_url){ var i; var options = ”; var temp=”; for(i=0;i= 4)) { window.external.AddFavorite(urlAddress,pageName); } else if (navigator.appName == “Firefox”) { window.sidebar.addPanel(pageName,urlAddress,””); } else { alert(“Press CTRL-D (Firefox) or CTRL-T (Opera) to bookmark”); } } function validateEditProfile(){ if(!nullCheck(“first_name”,”Please enter first name”) || !alphaSpaceOnly(“first_name”)) { return false; } if(!nullCheck(“last_name”,”Please enter last name”) || !alphaSpaceOnly(“last_name”)) { return false; } if(!nullCheck(“email”,”Please enter email”) || !emailValidation(“email”) ) { return false; } if(document.getElementById(‘zip’).value != ”){ var s = document.getElementById(‘zip’).value; if (isNaN(s)) { alert(“Please Enter Numbers Only in Zipcode”); return false; } } } function validateHorizontalMenu(formname) { var obj = eval(‘document.’ + formname); if(document.getElementById(‘type_id’).value == ‘0’){ alert(‘Please select type’); return false; } if(document.getElementById(‘type_id’).value == ‘2’){ if(obj.parent_id.value==’0′){ alert(‘Please select a different category’); return false; } } if( !nullCheck(‘title’,’Please enter title’)){ return false; } if (!validateMenuTitle(‘title’)){ return false; } if(Trimstr(obj.url.value) != ”){ var myRegxp = /”/; var str = obj.url.value; if(myRegxp.test(str)){ alert(“please enter valid URL”); PageLoadFocus(‘url’); return false; } } var temp_id = document.getElementById(‘id’).value; var temp_parent_id = document.getElementById(‘parent_menu’).value; if(temp_id == temp_parent_id){ alert(“A menu item cannot be parent of itself”); return false; } IGNORE_UNLOAD = true; return true; } function validateMenuTitle(fldId) { var myRegxp = /^[a-zA-Z0-9.-‘& ]+$/; var str = document.getElementById(fldId).value; if(! myRegxp.test(str)){ alert(‘Please enter valid title’); //PageLoadFocus(fldId); return false; }else{ return true; } } function validateWisdom(formname){ var obj = eval(‘document.’ + formname); var id = obj.id.value; if(id ==””) { if(!nullCheck(“quote”,”Please enter quote”)) { return false; } if(!nullCheck(“author”,”Please enter author”)) { return false; } if(obj.wisdom_date.value == ”){ alert(“Please enter date”); obj.wisdom_date.focus(); return false; } } else { if(!nullCheck(“quote”,”Please enter quote”)) { return false; } if(!nullCheck(“author”,”Please enter author”)) { return false; } if(obj.wisdom_date.value == ”){ alert(“Please enter date”); obj.wisdom_date.focus(); return false; } } //} IGNORE_UNLOAD = true; return true; } function cancelThis() { if(confirm(“Are you sure you want to cancel?”)){ history.go(-1); return true; }else{ return false; } } //for resize the images function resize(which, max) { var elem = document.getElementById(which); if (elem == undefined || elem == null) return false; if (max == undefined) max = 100; if (elem.width > elem.height) { if (elem.width > max) elem.width = max; } else { if (elem.height > max) elem.height = max; } } function validatehoro_images(formname){ //alert(“dfji”); var obj = eval(‘document.’ + formname); if(obj.astro_name.value == ”){ alert(“Please enter astro name”); obj.astro_name.focus(); return false; } if(obj.photo_file.value == ”){ alert(“Please select photo”); return false; } if(obj.photo_file.value != ”){ imagePath = obj.photo_file.value; var pathLength = imagePath.length; var lastDot = imagePath.lastIndexOf(“.”); var fileType = imagePath.substring(lastDot,pathLength); if((fileType == “.gif”) || (fileType == “.gif”)|| (fileType == “.jpg”) || (fileType == “.jpeg”) || (fileType == “.GIF”) || (fileType == “.JPG”) || (fileType == “.JPEG”)) { } else { alert(“Upload only .JPG, .JPEG, and .GIF image formats. Your file-type is ” + fileType); return false; } } IGNORE_UNLOAD = true; return true; } function loadBreakingNewsCategory(id, name){ resetMessage(); document.getElementById(‘id’).value = id; document.getElementById(‘name’).value = name; } function showMovies(show){ $(“#movies_”+show).html(”

  • Loading..
  • “); $.ajax({ url: base_url+”photo_gallery.php?func=get-album-list&show=”+show, beforeSend: function() { $(“#movies_”+show).html(“
  • Loading..
  • “); }, success: function(data){ $(“#movies_”+show).html(data); $(“#”+show+”_loaded_count”).val(no_of_records); $(“#”+show+”_more_link”).show(); $(“#”+show+”_more_load”).hide(); } }); } function showMoreMovies(show){ var loaded_count; loaded_count = $(“#”+show+”_loaded_count”).val(); $.ajax({ url: base_url+”photo_gallery.php?func=get-album-list&show=”+show+”&loaded_count=”+loaded_count, beforeSend: function() { $(“#”+show+”_more_link”).hide(); $(“#”+show+”_more_load”).show(); }, success: function(data){ $(“#”+show+”_more_link”).show(); $(“#”+show+”_more_load”).hide(); var data_arr = data.split(“_!@#$%_”); //alert(“#”+show+”_loaded_count”); $(“#”+show+”_loaded_count”).val(data_arr[1]); if(data_arr[0] != “”){ $(“#movies_”+show).append(data_arr[0]); } if(data_arr[0] == “”){ $(“#”+show+”_more_link”).hide(); } } }); } /* * Slides, A Slideshow Plugin for jQuery * Intructions: http://slidesjs.com * By: Nathan Searles, http://nathansearles.com * Version: 1.1.9 * Updated: September 5th, 2011 * * Licensed under the Apache License, Version 2.0 (the “License”); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an “AS IS” BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ (function(a){a.fn.slides=function(b){return b=a.extend({},a.fn.slides.option,b),this.each(function(){function w(g,h,i){if(!p&&o){p=!0,b.animationStart(n+1);switch(g){case”next”:l=n,k=n+1,k=e===k?0:k,r=f*2,g=-f*2,n=k;break;case”prev”:l=n,k=n-1,k=k===-1?e-1:k,r=0,g=0,n=k;break;case”pagination”:k=parseInt(i,10),l=a(“.”+b.paginationClass+” li.”+b.currentClass+” a”,c).attr(“href”).match(“[^#/]+$”),k>l?(r=f*2,g=-f*2):(r=0,g=0),n=k}h===”fade”?b.crossfade?d.children(“:eq(“+k+”)”,c).css({zIndex:10}).fadeIn(b.fadeSpeed,b.fadeEasing,function(){b.autoHeight?d.animate({height:d.children(“:eq(“+k+”)”,c).outerHeight()},b.autoHeightSpeed,function(){d.children(“:eq(“+l+”)”,c).css({display:”none”,zIndex:0}),d.children(“:eq(“+k+”)”,c).css({zIndex:0}),b.animationComplete(k+1),p=!1}):(d.children(“:eq(“+l+”)”,c).css({display:”none”,zIndex:0}),d.children(“:eq(“+k+”)”,c).css({zIndex:0}),b.animationComplete(k+1),p=!1)}):d.children(“:eq(“+l+”)”,c).fadeOut(b.fadeSpeed,b.fadeEasing,function(){b.autoHeight?d.animate({height:d.children(“:eq(“+k+”)”,c).outerHeight()},b.autoHeightSpeed,function(){d.children(“:eq(“+k+”)”,c).fadeIn(b.fadeSpeed,b.fadeEasing)}):d.children(“:eq(“+k+”)”,c).fadeIn(b.fadeSpeed,b.fadeEasing,function(){a.browser.msie&&a(this).get(0).style.removeAttribute(“filter”)}),b.animationComplete(k+1),p=!1}):(d.children(“:eq(“+k+”)”).css({left:r,display:”block”}),b.autoHeight?d.animate({left:g,height:d.children(“:eq(“+k+”)”).outerHeight()},b.slideSpeed,b.slideEasing,function(){d.css({left:-f}),d.children(“:eq(“+k+”)”).css({left:f,zIndex:5}),d.children(“:eq(“+l+”)”).css({left:f,display:”none”,zIndex:0}),b.animationComplete(k+1),p=!1}):d.animate({left:g},b.slideSpeed,b.slideEasing,function(){d.css({left:-f}),d.children(“:eq(“+k+”)”).css({left:f,zIndex:5}),d.children(“:eq(“+l+”)”).css({left:f,display:”none”,zIndex:0}),b.animationComplete(k+1),p=!1})),b.pagination&&(a(“.”+b.paginationClass+” li.”+b.currentClass,c).removeClass(b.currentClass),a(“.”+b.paginationClass+” li:eq(“+k+”)”,c).addClass(b.currentClass))}}function x(){clearInterval(c.data(“interval”))}function y(){b.pause?(clearTimeout(c.data(“pause”)),clearInterval(c.data(“interval”)),u=setTimeout(function(){clearTimeout(c.data(“pause”)),v=setInterval(function(){w(“next”,i)},b.play),c.data(“interval”,v)},b.pause),c.data(“pause”,u)):x()}a(“.”+b.container,a(this)).children().wrapAll(‘

    ‘);var c=a(this),d=a(“.slides_control”,c),e=d.children().size(),f=d.children().outerWidth(),g=d.children().outerHeight(),h=b.start-1,i=b.effect.indexOf(“,”)<0?b.effect:b.effect.replace(” “,””).split(“,”)[0],j=b.effect.indexOf(“,”)<0?i:b.effect.replace(” “,””).split(“,”)[1],k=0,l=0,m=0,n=0,o,p,q,r,s,t,u,v;if(e<2)return a(“.”+b.container,a(this)).fadeIn(b.fadeSpeed,b.fadeEasing,function(){o=!0,b.slidesLoaded()}),a(“.”+b.next+”, .”+b.prev).fadeOut(0),!1;if(e<2)return;h<0&&(h=0),h>e&&(h=e-1),b.start&&(n=h),b.randomize&&d.randomize(),a(“.”+b.container,c).css({overflow:”hidden”,position:”relative”}),d.children().css({position:”absolute”,top:0,left:d.children().outerWidth(),zIndex:0,display:”none”}),d.css({position:”relative”,width:f*3,height:g,left:-f}),a(“.”+b.container,c).css({display:”block”}),b.autoHeight&&(d.children().css({height:”auto”}),d.animate({height:d.children(“:eq(“+h+”)”).outerHeight()},b.autoHeightSpeed));if(b.preload&&d.find(“img:eq(“+h+”)”).length){a(“.”+b.container,c).css({background:”url(“+b.preloadImage+”) no-repeat 50% 50%”});var z=d.find(“img:eq(“+h+”)”).attr(“src”)+”?”+(new Date).getTime();a(“img”,c).parent().attr(“class”)!=”slides_control”?t=d.children(“:eq(0)”)[0].tagName.toLowerCase():t=d.find(“img:eq(“+h+”)”),d.find(“img:eq(“+h+”)”).attr(“src”,z).load(function(){d.find(t+”:eq(“+h+”)”).fadeIn(b.fadeSpeed,b.fadeEasing,function(){a(this).css({zIndex:5}),a(“.”+b.container,c).css({background:””}),o=!0,b.slidesLoaded()})})}else d.children(“:eq(“+h+”)”).fadeIn(b.fadeSpeed,b.fadeEasing,function(){o=!0,b.slidesLoaded()});b.bigTarget&&(d.children().css({cursor:”pointer”}),d.children().click(function(){return w(“next”,i),!1})),b.hoverPause&&b.play&&(d.bind(“mouseover”,function(){x()}),d.bind(“mouseleave”,function(){y()})),b.generateNextPrev&&(a(“.”+b.container,c).after(‘Prev’),a(“.”+b.prev,c).after(‘Next’)),a(“.”+b.next,c).click(function(a){a.preventDefault(),b.play&&y(),w(“next”,i)}),a(“.”+b.prev,c).click(function(a){a.preventDefault(),b.play&&y(),w(“prev”,i)}),b.generatePagination?(b.prependPagination?c.prepend(”

    --------- Advertisement ---------

    ------------------

    “):c.append(”

    “),d.children().each(function(){a(“.”+b.paginationClass,c).append(‘

  • ‘+(m+1)+”
  • “),m++})):a(“.”+b.paginationClass+” li a”,c).each(function(){a(this).attr(“href”,”#”+m),m++}),a(“.”+b.paginationClass+” li:eq(“+h+”)”,c).addClass(b.currentClass),a(“.”+b.paginationClass+” li a”,c).click(function(){return b.play&&y(),q=a(this).attr(“href”).match(“[^#/]+$”),n!=q&&w(“pagination”,j,q),!1}),a(“a.link”,c).click(function(){return b.play&&y(),q=a(this).attr(“href”).match(“[^#/]+$”)-1,n!=q&&w(“pagination”,j,q),!1}),b.play&&(v=setInterval(function(){w(“next”,i)},b.play),c.data(“interval”,v))})},a.fn.slides.option={preload:!1,preloadImage:”/img/loading.gif”,container:”slides_container”,generateNextPrev:!1,next:”next”,prev:”prev”,pagination:!0,generatePagination:!0,prependPagination:!1,paginationClass:”pagination”,currentClass:”current”,fadeSpeed:350,fadeEasing:””,slideSpeed:350,slideEasing:””,start:1,effect:”slide”,crossfade:!1,randomize:!1,play:0,pause:0,hoverPause:!1,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,animationStart:function(){},animationComplete:function(){},slidesLoaded:function(){}},a.fn.randomize=function(b){function c(){return Math.round(Math.random())-.5}return a(this).each(function(){var d=a(this),e=d.children(),f=e.length;if(f>1){e.hide();var g=[];for(i=0;i1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages=”all”),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp=”vertical”==o.settings.mode?”top”:”left”,o.usingCSS=o.settings.useCSS&&”fade”!=o.settings.mode&&function(){var t=document.createElement(“div”),e=[“WebkitPerspective”,”MozPerspective”,”OPerspective”,”msPerspective”];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace(“Perspective”,””).toLowerCase(),o.animProp=”-“+o.cssPrefix+”-transform”,!0;return!1}(),”vertical”==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data(“origStyle”,r.attr(“style”)),r.children(o.settings.slideSelector).each(function(){t(this).data(“origStyle”,t(this).attr(“style”))}),c()},c=function(){r.wrap(‘

    ‘),o.viewport=r.parent(),o.loader=t(‘

    ‘),o.viewport.prepend(o.loader),r.css({width:”horizontal”==o.settings.mode?100*o.children.length+215+”%”:”auto”,position:”relative”}),o.usingCSS&&o.settings.easing?r.css(“-“+o.cssPrefix+”-transition-timing-function”,o.settings.easing):o.settings.easing||(o.settings.easing=”swing”),f(),o.viewport.css({width:”100%”,overflow:”hidden”,position:”relative”}),o.viewport.parent().css({maxWidth:v()}),o.settings.pager||o.viewport.parent().css({margin:”0 auto 0px”}),o.children.css({“float”:”horizontal”==o.settings.mode?”left”:”none”,listStyle:”none”,position:”relative”}),o.children.css(“width”,u()),”horizontal”==o.settings.mode&&o.settings.slideMargin>0&&o.children.css(“marginRight”,o.settings.slideMargin),”vertical”==o.settings.mode&&o.settings.slideMargin>0&&o.children.css(“marginBottom”,o.settings.slideMargin),”fade”==o.settings.mode&&(o.children.css({position:”absolute”,zIndex:0,display:”none”}),o.children.eq(o.settings.startSlide).css({zIndex:50,display:”block”})),o.controls.el=t(‘

    --------- Advertisement ---------

    ------------------

    ‘),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);”all”==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find(“img, iframe”).length;if(0==s)return i(),void 0;var n=0;e.find(“img, iframe”).each(function(){t(this).one(“load”,function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&”fade”!=o.settings.mode&&!o.settings.ticker){var e=”vertical”==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass(“bx-clone”),s=o.children.slice(-e).clone().addClass(“bx-clone”);r.append(i).prepend(s)}o.loader.remove(),S(),”vertical”==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(p()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind(“resize”,B),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&I(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},p=function(){var e=0,s=t();if(“vertical”==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return”vertical”==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},v=function(){var t=”100%”;return o.settings.slideWidth>0&&(t=”horizontal”==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||”vertical”==o.settings.mode?t=e:o.settings.maxSlides>1&&”horizontal”==o.settings.mode&&(e>o.maxThreshold||e0)if(o.viewport.width()o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else”vertical”==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if(“horizontal”==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),”reset”,0)}else if(“vertical”==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,”reset”,0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&(“horizontal”==o.settings.mode?b(-e.left,”reset”,0):”vertical”==o.settings.mode&&b(-e.top,”reset”,0))}},b=function(t,e,i,s){if(o.usingCSS){var n=”vertical”==o.settings.mode?”translate3d(0, “+t+”px, 0)”:”translate3d(“+t+”px, 0, 0)”;r.css(“-“+o.cssPrefix+”-transition-duration”,i/1e3+”s”),”slide”==e?(r.css(o.animProp,n),r.bind(“transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd”,function(){r.unbind(“transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd”),D()})):”reset”==e?r.css(o.animProp,n):”ticker”==e&&(r.css(“-“+o.cssPrefix+”-transition-timing-function”,”linear”),r.css(o.animProp,n),r.bind(“transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd”,function(){r.unbind(“transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd”),b(s.resetValue,”reset”,0),N()}))}else{var a={};a[o.animProp]=t,”slide”==e?r.animate(a,i,o.settings.easing,function(){D()}):”reset”==e?r.css(o.animProp,t):”ticker”==e&&r.animate(a,speed,”linear”,function(){b(s.resetValue,”reset”,0),N()})}},w=function(){for(var e=””,i=x(),s=0;i>s;s++){var n=””;o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass(“bx-custom-pager”)):(n=s+1,o.pagerEl.addClass(“bx-default-pager”)),e+=’

    “}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t(‘

    ‘),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass(“bx-has-pager”).append(o.pagerEl),w()),o.pagerEl.delegate(“a”,”click”,q)},C=function(){o.controls.next=t(”+o.settings.nextText+””),o.controls.prev=t(”+o.settings.prevText+””),o.controls.next.bind(“click”,y),o.controls.prev.bind(“click”,z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t(‘

    --------- Advertisement ---------

    ------------------

    ‘),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass(“bx-has-controls-direction”).append(o.controls.directionEl))},E=function(){o.controls.start=t(‘

    “),o.controls.stop=t(‘

    “),o.controls.autoEl=t(‘

    ‘),o.controls.autoEl.delegate(“.bx-start”,”click”,k),o.controls.autoEl.delegate(“.bx-stop”,”click”,M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass(“bx-has-controls-auto”).append(o.controls.autoEl),A(o.settings.autoStart?”stop”:”start”)},P=function(){o.children.each(function(){var e=t(this).find(“img:first”).attr(“title”);void 0!=e&&(“”+e).length&&t(this).append(‘

    ‘+e+”

    “)})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},q=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr(“data-slide-index”));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},I=function(e){var i=o.children.length;return”short”==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find(“a”).removeClass(“active”),o.pagerEl.each(function(i,s){t(s).find(“a”).eq(e).addClass(“active”)}),void 0)},D=function(){if(o.settings.infiniteLoop){var t=””;0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),”horizontal”==o.settings.mode?b(-t.left,”reset”,0):”vertical”==o.settings.mode&&b(-t.top,”reset”,0)}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find(“a”).removeClass(“active”),o.controls.autoEl.find(“a:not(.bx-“+t+”)”).addClass(“active”))},W=function(){1==x()?(o.controls.prev.addClass(“disabled”),o.controls.next.addClass(“disabled”)):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass(“disabled”),o.controls.next.removeClass(“disabled”)):o.active.index==x()-1?(o.controls.next.addClass(“disabled”),o.controls.prev.removeClass(“disabled”)):(o.controls.prev.removeClass(“disabled”),o.controls.next.removeClass(“disabled”)))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if(“next”==o.settings.autoDirection)r.append(o.children.clone().addClass(“bx-clone”));else{r.prepend(o.children.clone().addClass(“bx-clone”));var i=o.children.first().position();e=”horizontal”==o.settings.mode?-i.left:-i.top}b(e,”reset”,0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+=”horizontal”==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s=”horizontal”==o.settings.mode?”left”:”top”,n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};”next”==o.settings.autoDirection?e=r.find(“.bx-clone”).first().position():i=o.children.first().position();var s=”horizontal”==o.settings.mode?-e.left:-e.top,n=”horizontal”==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,”ticker”,speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind(“touchstart”,X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind(“touchmove”,Y),o.viewport.bind(“touchend”,V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),”fade”!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if(“horizontal”==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,”reset”,0)}},V=function(t){o.viewport.unbind(“touchmove”,Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,”fade”==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;”horizontal”==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,”reset”,200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,”reset”,200)}o.viewport.unbind(“touchend”,V)},B=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider())};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),”next”==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):”prev”==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&I(o.active.index),o.settings.controls&&W(),”fade”==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed),o.children.filter(“:visible”).fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css(“zIndex”,51).fadeIn(o.settings.speed,function(){t(this).css(“zIndex”,50),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if(“horizontal”==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&”prev”==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(“.bx-clone”).eq(d);n=a.position()}else if(“next”==i&&0==o.active.index)n=r.find(“> .bx-clone”).eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if(“undefined”!=typeof n){var g=”horizontal”==o.settings.mode?-(n.left-s):-n.top;b(g,”slide”,o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,”next”)}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,”prev”)}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){“next”==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A(“stop”))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A(“start”))},r.getCurrentSlide=function(){return o.active.index},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(“.bx-clone”)).outerWidth(u()),o.viewport.css(“height”,p()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),I(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(“.bx-clone”,this).remove(),o.children.each(function(){void 0!=t(this).data(“origStyle”)?t(this).attr(“style”,t(this).data(“origStyle”)):t(this).removeAttr(“style”)}),void 0!=t(this).data(“origStyle”)?this.attr(“style”,t(this).data(“origStyle”)):t(this).removeAttr(“style”),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.pagerEl.remove(),t(“.bx-caption”,this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind(“resize”,B))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery); $(document).ready(function () { var refreshinterval = 30000; var presentCount=0; var loading=0; var id = setInterval(updateLiveBlog, refreshinterval); InitalizeLiveblog(); updateLiveBlog(); function InitalizeLiveblog() { loading = 1; $.getJSON(‘../election/json/homepage_liveblog_feed.json’, function(jsonData) { var obj = $.parseJSON(JSON.stringify(jsonData)); if (parseInt(obj.data.liveblog_status) == 1) { showLiveBlog(); } else { hideLiveBlog(); } if(obj.data.headline_status == 1) { if(obj.data.headline != ”) { $(‘#liveblogheadline’).empty(); $(‘#liveblogheadline’).append(‘

    ‘); } } else { $(‘#liveblogheadline’).empty(); } var i=0; $.each(obj.feeds, function (key, val) { var htmlData = []; htmlData.push(‘

    ‘); htmlData.push(‘

    ‘) htmlData.push(val.time); htmlData.push(‘:

    ‘); htmlData.push(‘

    ‘); htmlData.push(val.text); if (val.type == ‘article’) { htmlData.push(‘ Click Here to read more’); } else if (val.type == ‘image’) { htmlData.push(‘ ‘); } else if (val.type == ‘video’) { htmlData.push(‘ ‘); } else if (val.type == ‘twitter’) { htmlData.push(‘ ‘); } htmlData.push(‘

    ‘); htmlData.push(‘

    ‘) $(‘#liveblogfeed’).append(htmlData.join(”)).trigger(‘create’); }); presentCount = obj.data.latestid; loading = 0; }); } function updateLiveBlog() { if (loading == 1) return; $.getJSON(‘../election/json/homepage_liveblog_feed.json’, function(jsonData) { var obj = $.parseJSON(JSON.stringify(jsonData)); if (parseInt(obj.data.liveblog_status) == 1) { showLiveBlog(); } else { hideLiveBlog(); } if(obj.data.headline_status == 1) { if(obj.data.headline != ”) { $(‘#liveblogheadline’).empty(); $(‘#liveblogheadline’).append(‘

    ‘); } } else { $(‘#liveblogheadline’).empty(); } var htmlData = []; if (parseInt(obj.data.latestid) > parseInt(presentCount)) { $.each(obj.feeds, function (key, val) { if (parseInt(val.id) > parseInt(presentCount)) { htmlData.push(‘

    ‘); htmlData.push(‘

    ‘) htmlData.push(val.time); htmlData.push(‘:

    ‘); htmlData.push(‘

    ‘); htmlData.push(val.text); if (val.type == ‘article’) { htmlData.push(‘ Click Here to read more’); } else if (val.type == ‘image’) { htmlData.push(‘ ‘); } else if (val.type == ‘video’) { htmlData.push(‘‘); } else if (val.type == ‘twitter’) { htmlData.push(‘ ‘); } htmlData.push(‘

    ‘); htmlData.push(‘

    ‘); } }); $(‘#liveblogfeed’).prepend(htmlData.join(”)).trigger(‘create’); presentCount = obj.data.latestid; } }); } function hideLiveBlog() { $(‘#livefeedsection’).slideUp(); } function showLiveBlog() { $(‘#livefeedsection’).slideDown(); } }); !function(e){var t={trigger:”atendpage”,animation:”fade”,delay:0,showOnce:true,autoClose:false,scrollableModal:false};e.fn.subscribeBetter=function(n){var r=e.extend({},t,n),i=e(this),s=false,o=false;i.addClass(“sb”);e.fn.openWindow=function(){var t=e(this);if(t.is(“:hidden”)&&s==false&&o==false){o=true;setTimeout(function(){if(r.scrollableModal==true){if(e(“.sb-overlay”).length<1){e(“body”).append(”

    “+e(“.sb”).html()+”

    “);e(“.sb-close-backdrop, .sb-close-btn”).one(“click”,function(){e(“.sb.sb-withoverlay”).closeWindow();return false});e(“.sb.sb-withoverlay”).removeClass(“sb-animation-“+r.animation.replace(“In”,”Out”)).addClass(“sb-animation-“+r.animation);setTimeout(function(){e(“.sb.sb-withoverlay”).show();e(“body”).addClass(“sb-open sb-open-with-overlay”)},300)}}else{if(e(“.sb-overlay”).length<1){e(“body”).append(”

    “);e(“.sb”).removeClass(“sb-animation-“+r.animation.replace(“In”,”Out”)).addClass(“sb-animation-“+r.animation);e(“.sb-close-backdrop, .sb-close-btn”).one(“click”,function(){e(“.sb”).closeWindow();return false});setTimeout(function(){e(“.sb”).show();e(“body”).addClass(“sb-open”)},300)}}if(r.showOnce==true)s=true;o=false},r.delay)}};e.fn.closeWindow=function(){var t=e(this);if(t.is(“:visible”)&&o==false){o=true;if(r.scrollableModal==true){e(“.sb.sb-withoverlay”).removeClass(“sb-animation-“+r.animation).addClass(“sb-animation-“+r.animation.replace(“In”,”Out”));setTimeout(function(){e(“.sb.sb-withoverlay”).hide();e(“body”).removeClass(“sb-open sb-open-with-overlay”);setTimeout(function(){e(“.sb-overlay”).remove()},300)},300)}else{e(“.sb”).removeClass(“sb-animation-“+r.animation).addClass(“sb-animation-“+r.animation.replace(“In”,”Out”));setTimeout(function(){e(“.sb”).hide();e(“body”).removeClass(“sb-open”);setTimeout(function(){e(“.sb-overlay”).remove()},300)},300)}o=false}};e.fn.scrollDetection=function(t,n){var r,i=(new Date).getTime();e(window).scroll(function(){var t=(new Date).getTime();if(t-i>400){e(this).trigger(“scrollStart”);i=t}clearTimeout(r);r=setTimeout(function(){e(window).trigger(“scrollEnd”)},300)});if(t==”scrollStart”){e(window).bind(“scrollStart”,function(){e(window).unbind(“scrollEnd”);n()})}if(t==”scrollEnd”){e(window).bind(“scrollEnd”,function(){e(window).unbind(“scrollStart”);n()})}};switch(r.trigger){case”atendpage”:e(window).scroll(function(){var t=e(window).scrollTop();if(t>=e(document).height()-e(window).height()){i.openWindow()}else{if(t+300< pCOOKIES.length; bb++){ NmeVal = new Array(); NmeVal = pCOOKIES[bb].split(‘=’); if(NmeVal[0] == name){ cName = unescape(NmeVal[1]); } } return cName; } $(document).ready(function() { $(“#popup-signup-form”).submit(function(e){ e.preventDefault(); var $form = $(this); var email = $form.find(‘input[name=”email”]’).val(); var action = $(“input[type=submit][clicked=true]”).val(); var url = $form.attr(‘action’); $.post(url, {email:email,action:action}, function(payload) { var resp = $.parseJSON(payload); var data = resp.result; if(resp.action == ‘subscribe’) { if(data) { if((data==”Some fields are missing.”) || (email == “Your Email Address”)) { //$(“#status”).text(“Please fill your email.”); // // $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); alert(“Please fill your email.”); } else if(data==”Invalid email address.”) { $(“#status”).text(“Your email address is invalid.”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else if(data==”Invalid list ID.”) { $(“#status”).text(“Your list ID is invalid.”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else if(data==”Already subscribed.”) { $(“#status”).text(“You’re already subscribed!”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else { $(“#status”).text(“Thank you. Please check your mail inbox to confirm your email address”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } } else { $(“#status”).text(“Sorry, unable to subscribe. Please try again later!”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } } else { if(data) { if(data==”Some fields are missing.”) { $(“#status”).text(“Please fill your email.”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else if(data==”Invalid email address.”) { $(“#status”).text(“Your email address is invalid.”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else { $(“#status”).text(“You’re Unsubscribed!”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } } else { $(“#status”).text(“Sorry, unable to Unsubscribe. Please try again later!”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } } } ); }); $(“#unsub-form”).submit(function(e){ e.preventDefault(); var $form = $(this), email = $form.find(‘input[name=”email”]’).val(); url = $form.attr(‘action’); $.post(url, {email:email}, function(data) { if(data) { if(data==”Some fields are missing.”) { $(“#status”).text(“Please fill your email.”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else if(data==”Invalid email address.”) { $(“#status”).text(“Your email address is invalid.”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } else { $(“#status”).text(“You’re Unsubscribed!”); $(“#status”).css(“color”, “green”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } } else { $(“#status”).text(“Sorry, unable to Unsubscribe. Please try again later!”); $(‘#status’).hide().fadeIn(‘slow’).delay(5000).fadeOut(‘slow’); } } ); }); $(“#popup-signup-form”).keypress(function(e) { if(e.keyCode == 13) { e.preventDefault(); $(this).submit(); } }); $(“#submit-btn”).click(function(e){ e.preventDefault(); $(“#submit-btn”, $(this).parents(“#popup-signup-form”)).removeAttr(“clicked”); $(this).attr(“clicked”, “true”); $(“#unsubscribe-btn”).attr(“clicked”, “false”); $(“#popup-signup-form”).submit(); }); $(“#unsubscribe-btn”).click(function(e){ e.preventDefault(); $(“#unsubscribe-btn”, $(this).parents(“#popup-signup-form”)).removeAttr(“clicked”); $(this).attr(“clicked”, “true”); $(“#submit-btn”).attr(“clicked”, “false”); $(“#popup-signup-form”).submit(); }); });

    Mumbai, Oct 23, 2016, PTI

     He demanded that the Raj Thackeray-led party should keep politics away from trade.

    Emboldened by its successful campaign against Bollywood film ‘Ae Dil Hai Mushkil’, MNS now wants traders to “sacrifice” their business with Pakistan for the sake of the “nation” even as cotton exporters today observed that the Raj Thackeray-led outfit’s stand will affect the industry.

    The stir by MNS against release of the Karan Johar film for featuring Pakistani actor Fawad Khan blew over yesterday following mediation by Chief Minister Devendra Fadnavis in a tripartite meeting among Thackeray, Johar, and Producers’ Guild president Mukesh Bhatt at the CM’s residence here.

    Exploiting the controversy to the hilt ahead of the Mumbai municipal corporation polls next year, Thackeray yesterday asked the filmmakers who had worked with Pakistani actors to contribute Rs 5 crore as “prayaschit” (penance) money to the Army Welfare Fund.

    MNS spokesperson Shalini Thackeray today demanded that the traders should sacrifice business for the sake of nation.

    “Nation should be first. If jawans are sacrificing their lives (at border), why can’t traders sacrifice their trade? Money making should be the secondary priority in case of Pakistan,” she said here today.

    “Pakistan has already violated the clauses of MFN status given by India. Now, it’s high time that India isolate Pakistan, not only on cultural issues but on trade (front) as well. Banning the film (ADHM) was only to set an example that India has started to isolate Pak…next comes trade,” she told PTI.

    The senior leader said MNS will definitely play its role in ensuring that all kinds of trade with Pakistan are stopped. “However, the government will have to play a major role as far as trade is concerned,” she said.

    Meanwhile, concerned over rising tensions between the two countries after the Uri attack coupled with aggressive posturing by MNS, the cotton traders said they are afraid of losing business to the tune of Rs 5,500 crore with Pakistan.

    Maharashtra is a major contributor in cotton manufacturing states, followed by Gujarat.

    According to Sharadram Sejpal, spokesperson of Power Loom Association, India had placed an order to import 20,000 bales cotton from Pakistan in June as there was low production in the domestic market.

    “Generally, we export cotton to Pakistan. But June period was bad. At a time when we are expecting a record breaking production (of cotton), MNS’s stand against Pakistani actors has affected the cotton industry as well and powerloom industry will ultimately have to suffer,” Sejpal said.

    He demanded that the Raj Thackeray-led party should keep politics away from trade.

    Reacting to this, Shalini said, “Cotton associations should themselves come up and stop exporting to Pak, instead of them banning our imports.”

    According to Pradeep Jain, who operates a ginning mill in Jalgaon, Maharashtra will record a bumper production of cotton this year as monsoon has been very good.

    “We will produce around 1 crore cotton bales (1 bale equals to 170 kg) this year and if exports are stuck due to sentiments of patriotism after Uri attack by Pakistan, it will have a negative impact on the cotton industry, specifically on cotton growing farmers,” he said today.

    Jain said that Pakistan, Bangladesh, Vietnam and China are the major importers of Indian cotton.

    “Pakistan starts import of cotton from September every year. It consumes an average of 20 to 25 lakh bales whereas Bangladesh consumes 20 lakh bales from Indian cotton exporters,” Jain said.

    Out of the total cotton production, an average 65 lakh bales of cotton are exported from India alone.

    Most Popular Stories now

    Photo Gallery

--------- Advertisement ---------

------------------
After ADHM stir, MNS wants traders to ‘sacrifice’ biz with Pak was last modified: October 23rd, 2016 by greendecker

This article was originally published on http://www.deccanherald.com/content/577407/after-adhm-stir-mns-wants.html