<script type="text/javascript" src="/Scripts/jquery-2.2.0.min.js"></script>
imo.org.ir is using jquery
<script type="text/javascript" src="/Modules/template/Scripts/bootstrap-rtl.js"></script>
<script type="text/javascript" src="/Scripts/Intellijax.js"></script>
<script type="text/javascript" src="/Scripts/CMS.js"></script>
<script type="text/javascript" src="/Scripts/ShowIcon.js"></script>
<script type="text/javascript" src="/Scripts/login.js"></script>
<script type="text/javascript" src="/Scripts/WinDialog.js"></script>
<script type="text/javascript" src="/Scripts/HighChart/highcharts.js"></script>
<script type="text/javascript" src="/Scripts/HighChart/highcharts-3d.js"></script>
<script type="text/javascript" src="/Scripts/HighChart/highcharts-more.js"></script>
<script type="text/javascript" src="/Scripts/HighMap/map.js"></script>
<script type="text/javascript" src="/Scripts/HighMap/Iran/ir-all.js"></script>
<script type="text/javascript" src="/Scripts/HighChart/modules/exporting-fa.js"></script>
<script type="text/javascript" src="/Scripts/HighChart/modules/offline-exporting.js"></script>
<script type="text/javascript" src="/Scripts/HighChart/modules/data.js"></script>
<script type="text/javascript" src="/Scripts/bootstrap-notify.min.js"></script>
<script type="text/javascript" src="/Scripts/formchanges.js"></script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript">
$(do***ent).ready(function(){
$(".dropdown").hover(
function() {
$('.dropdown-menu', this).stop( true, true ).slideDown("fast");
$(this).toggleClass('open');
},
function() {
$('.dropdown-menu', this).stop( true, true ).slideUp("fast");
$(this).toggleClass('open');
}
);
});
</script>
<script type="text/javascript">
function checkEnter(e) {
var code = (e.keyCode ? e.keyCode : e.which);
if (code == 13)
simpleSearch_Submit();
}
function simpleSearch_Submit() {
if (gel('SimpleSearchCondition').value.length < 3)
{
alert('کلمات کلیدی کوتاهتر از 3 حرف مورد قبول نمی باشند');
gel('SimpleSearchCondition').select();
return;
}
getFromHttpRequest('post', '/Modules/SimpleSearch.aspx?ShowSearch=1', 'Search_Form', function () {
if(result!='1')
{
alert(result);
return;
}
var oWin=window;
if(window.parent)
oWin = window.parent.window;
oWin.location = '/Modules/ShowFramework.aspx?FrameworkPageType=SEC&RelFacilityId=50&Language=en';
});
}
</script>
<script type="text/javascript" src="/ImageGallery/Slide/59/Slide.js"></script>
<script type="text/javascript">
$(do***ent).ready(function() {
//var stickyNavTop = $("#page848").offset().top;
var stickyNavTop = "15";
var stickyNav = function(){
var scrollTop = $(window).scrollTop();
if (scrollTop > stickyNavTop) {
$("#page848").addClass("sticky");
} else {
$("#page848").removeClass("sticky");
}};
stickyNav();
$(window).scroll(function() {stickyNav();
});
});
</script>
<script type="text/javascript">
jssor_1_slider_init = function() {
var jssor_1_SlideshowTransitions = [
{$Duration:-1200,$Opacity:2}
];
var jssor_1_options = {
$AutoPlay: 1,
$SlideshowOptions: {
$Class: $JssorSlideshowRunner$,
$Transitions: jssor_1_SlideshowTransitions,
$TransitionsOrder: 1
},
$ArrowNavigatorOptions: {
$Class: $JssorArrowNavigator$
},
$BulletNavigatorOptions: {
$Class: $JssorBulletNavigator$,
$Steps : 1
}
};
var jssor_1_slider = new $JssorSlider$("jssor_1", jssor_1_options);
function ScaleSlider() {
var refSize = jssor_1_slider.$Elmt.parentNode.clientWidth;
if (refSize) {
refSize = Math.min(refSize, 2000);
jssor_1_slider.$ScaleWidth(refSize);
}
else {
window.setTimeout(ScaleSlider, 30);
}
$( "#Bullet_Navigator_51" ).parent().css( "left", "8%" );
//$( ".i" ).css( "right","left" );
}
ScaleSlider();
$Jssor$.$AddEvent(window, "load", ScaleSlider);
$Jssor$.$AddEvent(window, "resize", ScaleSlider);
$Jssor$.$AddEvent(window, "orientationchange", ScaleSlider);
/*#endregion responsive code end*/
};
</script>
<script type="text/javascript">
jssor_1_slider_init();
</script>
<script type="text/javascript" src="../Scripts/Paging.js"></script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/ImageGallery/Slide/56/Slide.js"></script>
<script type="text/javascript">
jssor_20_slider_init = function() {
var jssor_20_SlideshowTransitions = [
{$Duration: -1200,$Opacity: 2}
];
var jssor_20_options = {
$AutoPlay: 1,
$SlideshowOptions: {
$Class: $JssorSlideshowRunner$,
$Transitions: jssor_20_SlideshowTransitions,
$TransitionsOrder: 1
},
$ArrowNavigatorOptions: {
$Class: $JssorArrowNavigator$
},
$BulletNavigatorOptions: {
$Class: $JssorBulletNavigator$,
$Steps : 1
}
};
var jssor_20_slider = new $JssorSlider$("jssor_20", jssor_20_options);
function ScaleSlider()
{
var refSize = jssor_20_slider.$Elmt.parentNode.clientWidth;
if (refSize)
{
refSize = Math.min(refSize, 2000);
jssor_20_slider.$ScaleWidth(refSize);
}
else
{
window.setTimeout(ScaleSlider, 30);
}
$("#Bullet_Navigator_51").parent().css("left", "8%");
//$( ".i" ).css( "right","left" );
}
ScaleSlider();
$Jssor$.$AddEvent(window, "load", ScaleSlider);
$Jssor$.$AddEvent(window, "resize", ScaleSlider);
$Jssor$.$AddEvent(window, "orientationchange", ScaleSlider);
/*#endregion responsive code end*/
};
</script>
<script type="text/javascript">
jssor_20_slider_init();
</script>
<script type="text/javascript" src="../Scripts/Paging.js"></script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/ImageGallery/Slide/33/Slide.js"></script>
<script type="text/javascript">
$(do***ent).ready(function () {
$(".flex-slider").flexslider({
animation:"fade",
controlsContainer: ".flexslider"
});
});
</script>
<script type="text/javascript" src="../Scripts/Paging.js"></script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/ImageGallery/Slide/50/Slide.js"></script>
<script type="text/javascript">
var swiper = new Swiper(".swiper-container", {
pagination: ".swiper-pagination",
nextButton: ".swiper-button-next",
prevButton: ".swiper-button-prev",
slidesPerView: 6,
paginationClickable: true,
spaceBetween: 60,
loop: true,
autoplay : 4000
});
</script>
<script type="text/javascript" src="../Scripts/Paging.js"></script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript">
var shown2=new Array();
var Flag2=true;
var delayTimer2;
var initArray;
var maxHeight2 = 530;
for(i=0;
i<3;
i++)
shown2.push('0');
gel('TabHead02').className='ActiveTab2';
gel('TD_TabContent2').style.height='530px';
gel('TabDiv02').style.display='';
function ShowTab2(id,FieldId)
{
clearTimeout(delayTimer2);
intId=parseInt(id);
TabId=2;
for(i=0;
i< 3;
i++)
{
if(i!=intId)
gel('TabDiv'+i+TabId).style.display='none';
gel('TabHead'+i+TabId).className='NormalTab'+TabId;
}
gel('TabDiv'+id+TabId).style.display='';
gel('TabHead'+id+TabId).className='ActiveTab'+TabId;
if(shown2[id]=="0")
{
url='/Modules/TabModule_AjaxReq.aspx?FieldId=' + FieldId + '';
getFromHttpRequest('POST',url,null,locate2,new Array(id,TabId));
}
}
function locate2()
{
id=arguments[0];
TabId=arguments[1];
res=arguments[2];
gel('TabDiv'+id+TabId).innerHTML=res;
shown2[id]='1';
}
function ExpandTD2()
{
TabId=2;
objTD=gel('TD_TabContent'+TabId);
if(Flag2) //Expand
{
Hi = parseInt(objTD.style.height);
if(Hi<maxHeight2)
{
Hi+=15;
objTD.style.height=Hi+'px';
setTimeout(ExpandTD2,20);
}
else
{
objTD.style.height=maxHeight2+40;
}
}
else //Collapse
{
Hi = parseInt(objTD.style.height);
if(Hi>30)
{
Hi-=15;
objTD.style.height=Hi+'px';
setTimeout(ExpandTD2,10);
}
else
{
objTD.style.height=1+'px';
for(i=0;
i< 3;
i++)
{
gel('TabDiv'+i+TabId).style.display='none';
gel('TabHead'+i+TabId).className='NormalTab'+TabId;
}
}
}
}
//-------------------------------------------
function ChangeFlag2(f)
{
if(f==0) // Collapse
{
Flag2=false;
ExpandTD2();
}
else if(f==1) // Expand
{
Flag2=true;
ExpandTD2();
}
}
//-------------------------------------------
function checkEvent2(e,srcContent)
{
var t = e ? e.relatedTarget : event.toElement;
if(!contains(srcContent, t))
{
//Mouse has left the container element
Flag2=false;
ChangeFlag2(0);
}
}
</script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/ImageGallery/Slide/50/Slide.js"></script>
<script type="text/javascript">
var swiper = new Swiper(".swiper-container", {
pagination: ".swiper-pagination",
nextButton: ".swiper-button-next",
prevButton: ".swiper-button-prev",
slidesPerView: 6,
paginationClickable: true,
spaceBetween: 60,
loop: true,
autoplay : 4000
});
</script>
<script type="text/javascript" src="../Scripts/Paging.js"></script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="/Scripts/FormCheck.js"></script>
<script type="text/javascript">
//var $j = jQuery.noConflict();
//(function () {
// $j(function () {
// var $jfname = $j("#Sender").val();
// var $jemail = $j("#EmailSender").val();
// var $jcontent = $j("#opinionText").val();
// $j("#btnOpinion").click(function () {
// checkContent();
// sendData();
//
});
//
});
// function sendData() {
// $j.ajax({
// type: "POST",
// url: "/Show_Content.aspx/sendData",
// data: { ContentID: $j('#ContentId').val(), OptionType: $j('#OptionType').val(), Sender: $j('#Sender').val(), EmailSender: $j('#EmailSender').val(), opinionText: $j('#opinionText').val(), SecureCode: $j('#SecureCode').val()
},
// dataType: "json",
// success: doSuccess(),
// //failure: fnSendOpinion()
//
});
// function doSuccess() {
// $j("#btnOpinion").css("display", "none");
// $j("#okSend").css("display", "");
//
}
//
}
// function checkContent() {
// var $jemailSender = $j("#EmailSender");
// var $jemailSenderVal = $jemailSender.val();
// var $jopinionText = $j("#opinionText");
// var $jsecureCode = $j("#SecureCode");
// if (isEmpty($jemailSenderVal) && !isEmail($jemailSenderVal)) {
// alert('لطفا آدرس پست الکترونیک معتبر وارد نمایید');
// $jemailSender.focus();
// return;
//
}
// if (isEmpty($jopinionText.val())) {
// alert('لطفا نظر خود را ثبت نمایید');
// $jopinionText.focus();
// return;
//
}
// if (isEmpty($jsecureCode.val())) {
// alert('لطفا کد امنیتی را وارد نمایید');
// $jsecureCode.focus();
// return;
//
}
// $j("#Action").val("Add");
// $j("#btnOpinion").disabled = true;
// $j("#btnOpinion").val("در حال ارسال ...");
//
}
//})($j);
function GetZipFile() {
var fname = do***ent.getElementById('FormName').value;
//alert(fname);
do***ent.forms[0].Action.value = 'GetZipFile';
do***ent.forms[0].submit();
}
var FormName = do***ent.getElementById('FormName').value;
function printContent() {
window.print();
}
function ChangeDirection(blockId, dir) {
var MarqObj = do***ent.getElementById('MarqBlock' + blockId);
if (MarqObj.getAttribute('direction').toLowerCase() == dir)
MarqObj.setAttribute('scrollAmount', '5');
else {
MarqObj.setAttribute('direction', dir);
MarqObj.setAttribute('scrollAmount', '5');
}
}
function ResetSpeed(blockId) {
do***ent.getElementById('MarqBlock' + blockId).setAttribute('scrollAmount', '1');
}
</script>
<script type="text/javascript" src="../Scripts/cms.js"></script>
<script type="text/javascript" src="../Scripts/Intellijax.js"></script>
<script type="text/javascript" src="../Scripts/datetimepicker.js"></script>
<script type="text/javascript" src="../Scripts/PrayTime.js"></script>
<script type="text/javascript">
do***ent.getElementById('cmbCities').value='51.41x35.7'
/*
* Mashad: (59.58 x 36.31)
* عرض جغرافیایی:36.297001
* طول جغرافیایی:59.606201
*/
var prayTime;
var timeZone;
var prayTimeLongitude, prayTimeLatitude;
var prayTimeFarsiDate;
var cityOpt = gel('cmbCities');
for(i=0;
i<cityOpt.options.length;
i++)
cityOpt.options[i].style.backgroundColor= (i%2==0)? 'WhiteSmoke' : 'White';
MakePrayObject();
function MakePrayObject()
{
try
{
prayTime = new PrayTime();
prayTime.setCalcMethod(prayTime.Tehran);
prayTime.setTimeFormat(prayTime.Time24);
showPrayTime();
}
catch(e)
{
setTimeout(MakePrayObject,500);
}
}
function loadData()
{
//alert(do***ent.f1.Input_StartDate.value + ' ' + 'Input_StartDate' );
//alert(do***ent.f1.Tick.value+ ' ' + 'Tick');
prayTimeFarsiDate = do***ent.f1.Input_StartDate.value.split('/');
timeZone=3.5;
// اختلاف با گرینویچ
var month = GetEnglishDigit(prayTimeFarsiDate[1]);
if(month<7)
timeZone++;
// اختلاف یک ساعت در تابستان
var Pos = cityOpt.value.split("x");
prayTimeLongitude=Pos[0];
prayTimeLatitude=Pos[1];
}
function showPrayTime()
{
loadData();
englishDate = do***ent.getElementById('EngDate_Tick').value.split('/');
var dt = new Date();
prayTimeFarsiDate = do***ent.f1.Input_StartDate.value.split('/');
var yyy = parseInt(GetEnglishDigit(prayTimeFarsiDate[2]));
var mmm = parseInt(GetEnglishDigit(prayTimeFarsiDate[1]));
var ddd = parseInt(GetEnglishDigit(prayTimeFarsiDate[0]));
Eng = PersianToGregorian(yyy, mmm, ddd);
dt.setFullYear(englishDate[0], englishDate[1] - 1, englishDate[2]);
//dt.setFullYear(Eng[0], Eng[1]-1, Eng[2]);
CalcPrayTime(dt, parseFloat(prayTimeLatitude), parseFloat(prayTimeLongitude));
}
function CalcPrayTime(date, prayTimeLatitude, prayTimeLongitude) {
var times = prayTime.getPrayerTimes(date, prayTimeLatitude, prayTimeLongitude, timeZone);
for (var i = 0;
i < times.length;
i++) {
if (isNaN(do***ent.getElementById('tdOghatTime_title_' + i)))
do***ent.getElementById('tdOghatTime_title_' + i).innerHTML = prayTime.timeNamesFa[i] + ' : ';
if (isNaN(do***ent.getElementById('tdOghatTime_' + i)))
do***ent.getElementById('tdOghatTime_' + i).innerHTML = times[i];
}
}
/*function CalcPrayTime(date,prayTimeLatitude,prayTimeLongitude)
{
var times = prayTime.getPrayerTimes(date, prayTimeLatitude, prayTimeLongitude,timeZone);
var str = '<table id="timetable">';
for(var i = 0;
i < times.length;
i++)
{
str += '<tr><td style="padding-left:20px">'+ prayTime.timeNamesFa[i]+ ' : ';
str += '<td>'+ times[i]+ '';
}
str += '';
do***ent.getElementById('tdOghatTime').innerHTML=str;
}*/
function showMonthForm()
{
loadData();
var dayInMonths = [31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29];
var monthNames=['فروردین','اردیبهشت','خرداد','تیر','مرداد','شهریور','مهر','آبان','آذر','دی','بهمن','اسفند'];
if (GetEnglishDigit(prayTimeFarsiDate[2]) % 4 == 3)
dayInMonths[11]++;
var mxDayInMonth=dayInMonths[GetEnglishDigit(prayTimeFarsiDate[1])-1];
var strURL = 'PrayTime_GetAjaxDateList.aspx?Date=' + do***ent.getElementById('Tick').value + '&Input_StartDate=' + do***ent.getElementById('Input_StartDate').value;
getFromHttpRequest('get',strURL,null,function()
{
do***ent.getElementById('divMonthList').innerHTML=result;
for(i=0;
i<mxDayInMonth;
i++)
{
var englishDate = do***ent.getElementById('txtDate_'+i).value.split('/');
var dt = new Date();
dt.setFullYear(englishDate[0],englishDate[1]-1,englishDate[2]);
var times = prayTime.getPrayerTimes(dt, prayTimeLatitude, prayTimeLongitude,timeZone);
for(j=0;
j<8;
j++)
do***ent.getElementById('tdDate_'+j+i).innerHTML=times[j];
}
//do***ent.getElementById('tdListTitle').innerHTML=' فهرست اوقات شرعی ['+ cityOpt.options[cityOpt.selectedIndex].text +'] ' + monthNames[GetEnglishDigit(prayTimeFarsiDate[1])-1] + ' ماه سال ' + GetEnglishDigit(prayTimeFarsiDate[2]);
var xPos=Math.round(screen.availWidth / 2 - 800 / 2);
var yPos=Math.round(screen.availWidth / 2 - 900 / 2);
var prayList=window.open('','','scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=yes,resizable=yes,copyhistory=no,width=800;
height=900,top='+xPos+',left='+yPos);
var list='<link rel="STYLESHEET" href="../ImageGallery/SystemFiles/Styles/Style.css" type="text/css">';
list+=do***ent.getElementById('divMonthList').innerHTML;
prayList.do***ent.write(list);
prayList.do***ent.title='فهرست اوقات شرعی';
prayList.window.print();
});
}
</script>
<script type="text/javascript" src="../Scripts/Intellijax.js"></script>
<script type="text/javascript">
var voteFlag1=false;
function setFlag1()
{voteFlag1=true;
}
function saveResult1()
{
if(voteFlag1)
{
gel('btnSave').disabled=true;
getFromHttpRequest('post','/modules/clientVote.aspx','voteForm1',function()
{
gel('VoteMsg_1').style.display='';
gel('VoteMsg_1').innerHTML=result;
setTimeout(function(){runEffect('VoteMsg_1','fade',false,[10,0])},1000);
setTimeout(function(){gel('VoteMsg_1').style.display='none'},2000);
}
);
}
else
alert('یکی از موارد را انتخاب کنید');
}
</script>