مدونة مزيكاتوو اون لاين مشاهدة الكليب الهندى main tera dhadkan
by midolove898 | قبل 3 أسبوع
مرات المشاهدة: 281
function isRtl() {
return document.body.dir == "rtl";
}
function setRtlYva(suffix) {
// IE
if (!suffix) {
try {
var adCreative = _gel('homepage-side-content');
var yvaflash = adCreative.getElementsByTagName('embed')[0];
if (yvaflash.id.indexOf('FLASH_') == -1) {
return;
}
suffix = yvaflash.id.replace(/FLASH_/, '');
} catch (e) {
if ('message' in e) {
yt.www.logError(e.message, '', '');
} else if ('description' in e ) { /** IE specific. **/
yt.www.logError(e.description, '', '');
}
return;
}
}
// Unclips the YVA, actually triggering richMedia.clipFlashObject below.
var fixYvaDom = function(suffix) {
var yvaDiv = _gel('DIV_' + suffix);
var yvaFlash = _gel('FLASH_' + suffix);
yvaDiv.style.left = "0px";
if (isRtl()) {
yvaDiv.style.right = "0px";
}
yvaDiv.style.clip = "rect(auto auto auto auto)";
yvaFlash.style.marginLeft = "0px";
yvaFlash.width = '300px';
}
// Make sure the richmedia prototype exists.
var richMedia;
if (window.core && window.core.constructor) {
richMedia = window.core.constructor.prototype;
} else {
return;
}
// Don't let this function be called more than once.
if (richMedia.hasBeenUpdated) {
return;
}
richMedia.hasBeenUpdated = true;
// Whenever the expandable ad's clipping region changes, redo the fix.
richMedia.clipFlashObject_old = richMedia.clipFlashObject;
richMedia.clipFlashObject = function(asset, width, height, offsetTop, offsetRight, offsetBottom, offsetLeft) {
// Avoid a recursive clipping call.
if (this.isClipping) {
fixYvaDom(asset.variableName);
return;
}
this.isClipping = true;
this.clipFlashObject_old(asset, width, height, offsetTop, offsetRight, offsetBottom, offsetLeft);
fixYvaDom(asset.variableName);
this.isClipping = false;
};
richMedia.unclipFlashObject_old = richMedia.unclipFlashObject;
richMedia.unclipFlashObject = function(asset, width, height) {
this.unclipFlashObject_old(asset, width, height);
var yvaDiv = _gel('DIV_' + asset.variableName);
var yvaFlash = _gel('FLASH_' + asset.variableName);
yvaFlash.width = '960px';
if (!isRtl()) {
yvaDiv.style.left = '-660px';
} else {
yvaDiv.style.right = '-660px';
}
};
// Fix the DOM on load.
fixYvaDom(suffix);
};
// IE
yt.pubsub.subscribe('init', setRtlYva);
window['google_language'] = 'ar';
yt.registerGlobal('google_cust_age', 'google_cust_gender', 'google_language');
if (yt.timing) {
yt.timing.info('addomain', 'ad-emea.doubleclick.net');
}
ord = Math.random()*10000000000000000;
add_timestamp = (Math.floor(Math.random() * 100) < 5);
if (add_timestamp) {
kts = new Date().getTime();
document.write('');
} else {
document.write('');
}
إ