";
$(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 );
}
الشركات مطالبة بكشف جهود مكافحة الفساد
قالت منظمة الشفافية الدولية إن كبريات الشركات في العالم تقوم حاليا بالإفصاح عن برامجها لمكافحة الفساد لكنها تحتاج إلى القيام بمجهود أكبر في هذا الاتجاه.
وأضافت في بيان صدر في برلين أن الشركات ذات الجنسيات المتعددة تستطيع بل يتوجب عليها لعب دور مهم في الجهود الدولية لمكافحة الفساد.
وقال رئيس المنظمة هوغيت لابيل في البيان إنه بينما يستمر تعافي العالم من آثار التحميل
[عزيزي الزائر يتوجب عليك التسجيل لمشاهدة الرابط للتسجيل اضغط
هنا]*في 2008 يجب على مسؤولي الشركات الالتزام بمكافحة الفساد.
وأشارت المنظمة إلى أن غياب الشفافية يجعل من الصعب تحديد أرباح الشركات وكيفية التزامها بدفع الضرائب أو مساهمتها في الحملات السياسية.
وقالت إن نحو نصف عدد الشركات لا يكشف عن مساهماته في الحملات السياسية. ولفتت إلى أن الشركات المتعددة الجنسيات تظل جزءا مهما من المشكلة في العالم وإن الوقت قد حان لمساهمتها في إيجاد حلول.
وطالبت الشركات بالمساهمة في مكافحة الفساد عن طريق كشف المزيد من المعلومات عن كيفية مكافحتها للفساد وأنشتطها في هذا الاتجاه وكيفية تدفق الأموال في الدول التي تعمل فيها.
وتساعد مثل هذه المعلومات المواطنين في العالم على معرفة حجم الموازنات العامة وهو أمر ضروري في محاسبة الحكومات.
وقالت إنه يتوجب على الحكومات والجهات الرقابية جعل الشفافية أمرا ملزما لجميع الشركات التي تطلب دعما حكوميا لعمليات التصدير أو المنافسة للحصول على عقود حكومية.
المصدر : الجزيرة