/* AVIP Addon:Yahoo (global header below AVIP header code) - Eton Bones*/
if(window['vidType']){
vidType['Yahoo']={};
vidType['Yahoo'].prefix='http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.0.45&id=%gid%&vid=%video%<=en-US&intl =us&thumbUrl=';
vidType['Yahoo'].params={flashvars:_getFlashVars};
vidType['Yahoo'].example='http://etonbones.proboards100.com/index.cgi?board=examples&action=display&thread=20';
vidType['Yahoo'].preprocess=function(vType,vURI){ 
if(vURI.match(/video\.yahoo\.com\/watch\/(\d+)\/(\d+)/i))
caller[caller.length-1].arguments[2]=vURI=RegExp.$2+ '.'+ RegExp.$1;
if(/^\d+\.\d+$/.test(vURI)){
prefix=prefix.replace(/%gid%/g,vURI.split('.')[0]).replace(/%video%/g,vURI.split('.')[1]);
caller[caller.length-1].arguments[2]=caller[caller.length-1].arguments[2].split('.')[1];
}
}
}
