";
$(document).ready(function () {
Init();
if ($("#SurvayContent").length > 0 && $("#VoteDiscussionExist").length == 0) {
var Survayselected = "/Views/Shared/shared/images/SurvaySelected.jpg";
$("#Survay").attr("disabled", "disabled");
$("#Survay").attr("src", Survayselected);
$('#_SrvsContent').html($('#SurvayContent')[0].innerHTML);
}
});
function Init() {
if ($("#SurvayContent").length > 0 || $("#VoteDiscussionExist").length > 0)
{ $(".VoteDiscussionBox").css("display", "block"); }
$('#_SrvsContent').html(ajaxLoading);
$('.tab').addClass('selected');
if ($("#SurvayContent").length > 0) {
$("#Survay").css("display", "");
}
$('.tab').click(function () {
$('.tab').addClass('selected');
$(this).removeClass("selected");
$('#_SrvsContent').html(ajaxLoading);
var voteselected = "/Views/Shared/shared/images/voteSelected.jpg";
var voteNot = "/Views/Shared/shared/images/vote.jpg";
var discsNot = "/Views/Shared/shared/images/forum.jpg";
var discselected = "/Views/Shared/shared/images/forumSelected.jpg";
var SurvayNot = "/Views/Shared/shared/images/SurvayUnSelected.jpg";
var Survayselected = "/Views/Shared/shared/images/SurvaySelected.jpg";
if ($(this).attr("id") == "discussion") {
$('#discussion').attr("disabled", "disabled");
$('#vote').attr("disabled", "");
$("#Survay").attr("disabled", "");
$('#discussion').attr("src", discselected);
$('#vote').attr("src", voteNot);
$("#Survay").attr("src", SurvayNot);
}
if ($(this).attr("id") == "vote") {
$('#vote').attr("disabled", "disabled");
$('#discussion').attr("disabled", "");
$("#Survay").attr("disabled", "");
$('#vote').attr("src", voteselected);
$('#discussion').attr("src", discsNot);
$("#Survay").attr("src", SurvayNot);
}
if ($(this).attr("id") == "Survay") {
$('#vote').attr("disabled", "");
$('#discussion').attr("disabled", "");
$("#Survay").attr("disabled", "disabled");
$('#vote').attr("src", voteNot);
$('#discussion').attr("src", discsNot);
$("#Survay").attr("src", Survayselected);
}
if ($(this).attr("id") == "vote" || $(this).attr("id") == "discussion") {
var tragetUrl = $(this).attr('target-url');
$.get(tragetUrl, '', function (result, status, respones) {
try {
if (status == 'success') {
$('#_SrvsContent').html(result).slideDown('slow');
if (tragetUrl.indexOf("/Sitevote/vote/") != -1) {
$('.votes').each(function (index, ele) {
var voteId = $(ele).val();
$('.votepu' + voteId).dialog({
title: 'نتيجة التصويت',
width: 600,
height: 380,
autoOpen: false,
resizable: false,
modal: true
});
$('.doVote' + voteId).dialog({
title: 'التصويت',
width: 640,
height: 360,
autoOpen: false,
resizable: false,
modal: true
});
CheckCookie(voteId)
});
}
}
else {
$('#_SrvsContent').html("Error connceting to web services ... ");
}
}
catch (e) {
// alert(e);
}
});
} else {
$('#_SrvsContent').html($('#SurvayContent')[0].innerHTML);
}
});
}
function UpdateVote(VoteID, type) {
var yourAnswer = document.getElementById("yourAnswer" + VoteID).value;
var yourVote = document.getElementById("yourVote" + VoteID).value;
if (yourAnswer != 0 && yourAnswer > 0) {
$('#VoteID').css("display", "");
var src ="/Sitevote/SiteServices/SupportPages/vote/SecureVote.aspx?voteID="+VoteID+"&actionType=1&dis pType=1&yourAnswer=" + yourAnswer+"";
$('#ifrm' + VoteID).attr('src', src);
$('.doVote' + VoteID + ":first").dialog('open');
}
}
function CheckCookie(vid) {
var voteId = GetVoteCookieValue("vote", "vID", vid);
if (voteId) {
DisableRadioButtons(document.getElementsByName("vo teSelect" + vid))
var votePartLink = document.getElementsByName("voteSelect" + vid + "");
if (votePartLink) {
$(votePartLink).removeAttr("href");
}
}
}
function GetVoteCookieValue(sParent, sName, sValue) {
var aCookie = document.cookie.split("; ");
for (var i = 0; i -1) {
var aCrumb = aCookie[i].split("=");
if (sParent == aCrumb[0]) {
if (sName == aCrumb[1]) {
if (aCrumb[2].search(",") > -1) {
var aCrumb2 = aCrumb[2].split(",");
for (var l = 0; l 0)
{ $('#voteresultdialoglink').attr('value', url) }
$('#innerHtml' + vId).html(ajaxLoading);
$('#innerHtml' + vId).load(url);
$('.votepu' + vId + ':first').dialog('open');
$('.votepu' + vId + ':first').dialog( "option", "width", 600 );
}
أرامكو تضاعف تجارتها لمنتجات النفط
كشفت*شركة أرامكو السعودية النفطية العملاقة المملوكة للدولة، عن عزمها رفع حجم إنتاجها لمشتقات النفط إلى مستوى 1.5 مليون برميل يوميا، مع التوسع في أنشطة التكرير والتسويق.وأوضح الرئيس التنفيذي لشركة أرامكو السعودية لتجارة المنتجات البترولية*سعيد الحضرمي أن وحدة التكرير التابعة للشركة بدأت بالفعل في زيادة الإنتاج منذ يناير/كانون الثاني الماضي.
وذكر الحضرمي خلال مؤتمر لصناعة النفط في البحرين الاثنين، أن الشركة مفوضة بتداول شتى أنواع المنتجات عدا الخام.
ولم يحدد الحضرمي الوقت الذي سيستغرقه الوصول إلى المستوى المستهدف من مستوى الإنتاج الحالي الذي يتراوح بين 500 إلى 600 ألف برميل يوميا من المنتجات المكررة والمكثفات والكبريت. ويضاف الغاز الطبيعي المسال إلى محفظة السلع التي تتداولها الشركة.
وتعد أرامكو*مخولة بإبرام صفقات منتجات مكررة مثل المكثفات والنافتا والبنزين والمشتقات الوسيطة وزيت الوقود ومجموعة كبيرة من منتجات البتروكيماويات.
وأرامكو هي واحدة من أكبر الشركات المصدرة لزيت الوقود والنافتا إلى شرق آسيا، كما أنها تستورد كميات من زيت الغاز تفوق صادراتها.
المصدر : رويترز