|
|
Posted on 14th Jul 2007 at 14:11
YouTube - Jet Crash - Awesome Video (3 Diffrent Views)onLoadFunctionList = new Array();function performOnLoadFunctions(){for (var i in onLoadFunctionList){onLoadFunctionList[i]();}}var quicklist_count=0;function _hbLink (a,b) { return false; } function toggleFullStats(statsContent) {var ajax_action = '';if (statsContent === undefined) {statsContent = 'honors';ajax_action = 'action_get_honors';document.getElementById('referDiv').style.display = 'block';}else if (statsContent == 'audio') {ajax_action = 'action_get_audio_info';document.getElementById('referDiv').style.display = 'none';}var fsd = document.getElementById('fullStats').style.display;if (fsd == 'none' || fsd == '') {showAjaxDivNotLoggedIn('additionalStatsDiv', '/watch_ajax?v=mwgUxXh9IPQ&' + ajax_action + '=1&l=DE', false);if (statsContent == 'audio') {document.getElementById('showhide').innerHTML = 'Hide';}toggleDisplay('fullStats');}else{if (((statsContent == 'honors' && document.getElementById('audioStatHead')) || (statsContent == 'audio' && document.getElementById('honorStatHead')))){showAjaxDivNotLoggedIn('additionalStatsDiv', '/watch_ajax?v=mwgUxXh9IPQ&' + ajax_action + '=1&l=DE', false);if (statsContent == 'honors') {document.getElementById('showhide').innerHTML = 'Show';}else if (statsContent == 'audio') {document.getElementById('showhide').innerHTML = 'Hide';}}else{toggleDisplay('fullStats');if (statsContent == 'audio') {document.getElementById('showhide').innerHTML = 'Show';}}}}function closeFullStats() {toggleDisplay('fullStats');if (document.getElementById('showhide')) {document.getElementById('showhide').innerHTML = 'Show';}}function CheckLogin() {return true;}function showRelatedVideosContent() {getAndShowNavContent('exRelated', '/watch_ajax?video_id=mwgUxXh9IPQ&action_get_related_videos_component&search=jet%20crash%20accident%20unfall%20air%20plane%20craft%20milit%C3%A4r%20army%20war%20krieg');}function showRelatedPlaylistContent() {getAndShowNavContent('exPlaylist', '/watch_ajax?feature=PlayList&search=jet%20crash%20accident%20unfall%20air%20plane%20craft%20milit%C3%A4r%20army%20war%20krieg&video_id=mwgUxXh9IPQ&action_get_related_playlist_component&p=&index=0');}function showRelatedUserContent() {getAndShowNavContent('exUser', '/watch_ajax?video_id=mwgUxXh9IPQ&action_get_user_videos_component&user_id=DuKEFZWj-TI&video_count=137');}function showHonorsContent() {getAndShowNavContent('honors', '/watch_ajax?v=mwgUxXh9IPQ&action_get_honors=1&l=DE');}function showAllQueuedVideos() {setInnerHTML('show_all_queued_videos_div', 'Loading...');getAndShowNavContent('watchlist_container', '/watch_queue_ajax?action_get_all_queue_videos_component&v=mwgUxXh9IPQ', postShowAllQueuedVideos);}function postShowAllQueuedVideos() {setInnerHTML('show_all_queued_videos_div', 'Showing All Videos');jumpToNowPlaying();}// This can be split out...var contentTab=new Array(); function getAndShowNavContent(nameprefix, url, postShowNavContent) {selectNavLink(nameprefix + "Link");if(contentTab[nameprefix]) {return;}self.nameprefix = nameprefix;self.showRelatedVideosResponse = showRelatedVideosResponse;self.postShowNavContent = postShowNavContentgetUrlXMLResponse(url, showRelatedVideosResponse);}function showRelatedVideosResponse(req) {document.getElementById(self.nameprefix + "Div").innerHTML=getNodeValue(req.responseXML, "html_content");setContentLoaded(self.nameprefix);if(self.postShowNavContent) {self.postShowNavContent();}}function setContentLoaded(nameprefix) {selectNavLink(nameprefix + "Link");contentTab[nameprefix] = 1;}function showAjaxDivNotLoggedIn(divName, url) {self.divName = divNameself.showAjaxDivResponse = showAjaxDivResponsegetUrlXMLResponse(url, self.showAjaxDivResponse);}function showAjaxPostDivNotLoggedIn(divName, url, data) {self.divName = divNameself.showAjaxDivResponse = showAjaxDivResponsepostUrlXMLResponse(url, data, self.showAjaxDivResponse);}function showAjaxDiv(divName, url) {if(CheckLogin()) {showAjaxDivNotLoggedIn(divName,url)} else {alert("Please log in to perform this operation.");}}function showAjaxPostDiv(divName, url, data) {if(CheckLogin()) {showAjaxPostDivNotLoggedIn(divName,url,data)} else {alert("Please log in to perform this operation.");}}function showAjaxDivResponse(req) {document.getElementById(self.divName).innerHTML=getNodeValue(req.responseXML, "html_content");openDiv(self.divName);}function postAjaxForm(divName, formName) {self.postAjaxFormCompleted = postAjaxFormCompleted; self.divName = divName;postFormXMLResponse(formName, self.postAjaxFormCompleted);}function postAjaxFormCompleted(req) {if(self.divName != null)hideAjaxDiv(self.divName);}function hideAjaxDiv(divName) {closeDiv(divName);}function xmlrpccallback(req) {alert('xmlrpccallback: ' + req.responseText);}function debugCompleted(req) {url = getNodeValue(req.responseXML, 'url');xmldata = getNodeValue(req.responseXML, 'xmldata');proxy = getNodeValue(req.responseXML, 'proxy');//alert('url: '+ url + '\nxmldata: ' + xmldata);postUrlXMLResponse(url, xmldata, xmlrpccallback);//alert ("url: " + url + "\nxmldata: " + xmldata + "\nproxy: " + proxy);}function getXMLRPCData(divName, formName) {self.callback = debugCompleted;postFormXMLResponse(formName, self.callback);}// Player stufffunction openFull(){var fs = window.open( "/watch_fullscreen?video_id=mwgUxXh9IPQ&l=147&t=OEgsToPDskLxbq040GTHrZSVwaR3KN2C&soff=1&sk=hRz8jS2nIe1kdMZSJeslrwU&fs=1&title=" + "Jet Crash - Awesome Video (3 Diffrent Views)" ,"FullScreenVideo", "toolbar=no,width=" + screen.availWidth + ",height=" + screen.availHeight + ",status=no,resizable=yes,fullscreen=yes,scrollbars=no");fs.focus();}function gotoNext(){}function autoNext(suffix){if (typeof(suffix) == "undefined"){suffix = "";}var p = document.getElementById("movie_player");if(p.GetVariable("movie.is_playing") == "false" && p.GetVariable("movie.restart") == "true"){gotoNext();}else{p.SetVariable("playnext", "1");}hideDiv("playall" + suffix);showDiv("playingall" + suffix);}function postToTrackerForWatch(time_played){}function showCommentReplyForm(form_id, reply_parent_id, is_main_comment_form) {if(!CheckLogin()) {alert("Please log in to post a comment.");return false;}printCommentReplyForm(form_id, reply_parent_id, is_main_comment_form);}function printCommentReplyForm(form_id, reply_parent_id, is_main_comment_form) {var div_id = "div_" + form_id;var reply_id = "reply_" + form_id;var reply_comment_form = "comment_form" + form_id;if (is_main_comment_form)discard_visible="style='display: none'";elsediscard_visible="";var innerHTMLContent = '\\\\\\\\\ \\\ ';if(!is_main_comment_form) {toggleVisibility(reply_id, false);}setInnerHTML(div_id, innerHTMLContent);toggleVisibility(div_id, true);}function postThreadedComment(comment_form_id) {if (CheckLogin() == false)return false;var form = document.forms[comment_form_id];if (ThreadedCommentHandler(form)) {var add_button = form.add_comment_button;add_button.value = "Adding comment...";add_button.disabled = true;} }function ThreadedCommentHandler(comment_form){var comment = comment_form.comment;var comment_button = comment_form.comment_button;if (comment.value.length == 0 || comment.value == null){alert("You must enter a comment!");comment.focus();return false;}if (comment.value.length > 500){alert("Your comment must be shorter than 500 characters!");comment.focus();return false;}postFormByForm(comment_form, true, commentResponse);return true;}function commentResponse(xmlHttpRequest){response_str = xmlHttpRequest.responseText;response_code = response_str.substr(0, response_str.indexOf(" "));form_id = response_str.substr(response_str.indexOf(" ")+1);var form = document.forms[form_id];var dstDiv = form.add_comment_button;var discard_button = form.discard_comment_button;if (response_code == "OK") {dstDiv.value = "Comment Posted!";dstDiv.disabled = true;discard_button.disabled = true;discard_button.style.display = "none";alert("Thank You. Your comment has been posted!");} else if (response_code == "PENDING") {dstDiv.value = "Comment Pending Approval!";dstDiv.disabled = true;alert("Your comment has been posted! It will be visible once it is approved.");discard_button.disabled = true;discard_button.style.display = "none";} else if (response_code == "LOGIN") {alert("An error occurred while posting the comment. Please log in again and retry.");dstDiv.disabled = false;} else if (response_code == "EMAIL") {if(confirm("You must confirm your email address before you can submit comments. Click OK to confirm your email address.")){window.location="/email_confirm"}dstDiv.disabled = false;} else {if(response_code == "BLOCKED") {alert("You have been blocked from commenting on this user's videos.");dstDiv.disabled = true;} else if(response_code == "TOOSOON") {alert("You have recently posted several comments. Please wait for some time before posting another.");dstDiv.disabled = false;} else if(response_code == "TOOLONG") {alert("The comment you have entered is too long. Please write a shorter comment and try again.");dstDiv.disabled = false;} else if(response_code == "TOOSHORT") {alert("The comment you have entered is too short. Please write a longer comment and try again.");dstDiv.disabled = false;} else if(response_code == "FAILED") {alert("Your comment was not sent, either because it includes a URL or email address.");dstDiv.disabled = false;} else if(response_code == "FAILADDED") {alert("Your comment was not sent, because the user has disabled adding comments.");dstDiv.disabled = false;} else {alert("An error occurred while posting the comment.");dstDiv.disabled = false;}dstDiv.value = "Post Comment";}}function load_all_comments(video_id, is_watch2) {var remove_btn = document.getElementById('all_comments_button');if(remove_btn) {remove_btn.value = "Loading Comments...";remove_btn.disabled = true}if(is_watch2)var watch2_str = "&watch2"elsevar watch2_str = ""getUrlXMLResponse("/comment_servlet?get_comments&v=" + video_id + watch2_str, handleStateChange);}function hideSpam(cid) {if (document.getElementById('reply_comment_form_id_'+cid)) {document.getElementById('reply_comment_form_id_'+cid).style.display = 'none';}if (document.getElementById('comment_body_'+cid)) {document.getElementById('comment_body_'+cid).style.display = 'none';}if (document.getElementById('comment_spam_bug_'+cid)) {document.getElementById('comment_spam_bug_'+cid).style.display = 'inline';}}function redirectToUrl(req){window.location.href=self.new_redirect_url;return true;}function unblockUserLink(friend_id, url){if (!confirm("Are you sure you want to block this user?"))return true;self.new_redirect_url = url;getUrlXMLResponse("/link_servlet?unblock_user=1&friend_id=" + friend_id, redirectToUrl);return true;}function blockUserLink(friend_id, url){if (!confirm("Are you sure you want to block this user?"))return true;self.new_redirect_url = url;getUrlXMLResponse("/link_servlet?block_user=1&friend_id=" + friend_id, redirectToUrl);return true;}function blockUserLinkByUsername(friend_username){if (!confirm("Are you sure you want to block this user?"))return false;getUrlXMLResponse("/link_servlet?block_user=1&friend_username=" + friend_username);return false;}onLoadFunctionList.push(function() { printCommentReplyForm('main_comment', '', true) } );onLoadFunctionList.push(function() { setContentLoaded("exRelated"); } );function selectNavLink (linkName) {if (linkName == "exRelatedLink") {var curTab = document.getElementById('exploretableft');curTab.setAttribute("class", "selected");curTab.setAttribute("className", "selected");var aTab = document.getElementById('exploretabright');var bTab = document.getElementById('exploretabcenter');aTab.setAttribute("class",'notselected');bTab.setAttribute("class",'notselected');aTab.setAttribute("className",'notselected');bTab.setAttribute("className",'notselected');closeDiv("exUserDiv");closeDiv("exPlaylistDiv");openDiv("exRelatedDiv");unSelectLink("exPlaylistLink");unSelectLink("exUserLink");selectLink("exRelatedLink");blurElement("exRelatedLink");replaceExploreTab("exploreMoreTabs", "/img/btn_exploretab_related_300x34.gif");}if (linkName == "exPlaylistLink") {var curTab = document.getElementById('exploretabright');curTab.setAttribute("class", "selected");curTab.setAttribute("className", "selected");var aTab = document.getElementById('exploretabcenter');var bTab = document.getElementById('exploretableft');aTab.setAttribute("class",'notselected');bTab.setAttribute("class",'notselected');aTab.setAttribute("className",'notselected');bTab.setAttribute("className",'notselected');closeDiv("exRelatedDiv");closeDiv("exUserDiv");openDiv("exPlaylistDiv");unSelectLink("exUserLink");unSelectLink("exRelatedLink");selectLink("exPlaylistLink");blurElement("exPlaylistLink");replaceExploreTab("exploreMoreTabs", "/img/btn_exploretab_playlist_300x34.gif");}if (linkName == "exUserLink") {var curTab = document.getElementById('exploretabcenter');curTab.setAttribute("class", "selected");curTab.setAttribute("className", "selected");var aTab = document.getElementById('exploretabright');var bTab = document.getElementById('exploretableft');aTab.setAttribute("class",'notselected');bTab.setAttribute("class",'notselected');aTab.setAttribute("className",'notselected');bTab.setAttribute("className",'notselected');closeDiv("exRelatedDiv");closeDiv("exPlaylistDiv");openDiv("exUserDiv");unSelectLink("exPlaylistLink");unSelectLink("exRelatedLink");selectLink("exUserLink");blurElement("exUserLink");replaceExploreTab("exploreMoreTabs", "/img/btn_exploretab_morefromuser_300x34.gif");}}function replaceExploreTab(elid, imgSrc) {var theElement = document.getElementById(elid);if (theElement) {theElement.src = imgSrc;}}function writeMoviePlayer(player_div, force){var v = "7";if (force)v = "0";var fo = new SWFObject("/player2.swf?hl=en&BASE_YT_URL=http://uk.youtube.com/&video_id=mwgUxXh9IPQ&l=147&t=OEgsToPDskLxbq040GTHrZSVwaR3KN2C&soff=1&sk=hRz8jS2nIe1kdMZSJeslrwU", "movie_player", "450", "370", v, "#FFFFFF");fo.addParam("allowFullscreen", "true");fo.addVariable("sourceid", "yw");fo.addVariable("sdetail", "m%3Arelated%2Crv%3ATauLvGnFYxQ");player_written = fo.write(player_div);}function setSWFVersion(version_from_swf){if (!player_written)writeMoviePlayer("playerDiv"); }first_time = 1;function changeBanner(img_url, ref_url, is_flash){var e = document.getElementById("gad_leaderboardAd");if (first_time){e.style.height = "90px";first_time = 0;}var url = "";if (is_flash == "true"){url += " ";url += "<" + "param value='clickTAG=" + encodeURIComponent(ref_url) + "' /" + ">";url += "<" + "embed src='" + img_url + "'";url += " type='application/x-shockwave-flash' wmode='transparent'";url += " flashvars='clickTAG=" + encodeURIComponent(ref_url) + "'";url += " width='728' height='90' /" + ">";url += " ";}else{url = "<" + "a href='" + ref_url + "' target='_blank'>";url += "  ";url += "";}e.innerHTML = url;} function selectLocale(loc) {var current_url, next_url;current_url = location.href;//Check if the URL string contains any site redirect values; if yes, chop string to remove those valuesif (current_url.indexOf('?locale=')!=-1) {url_array = current_url.split("?locale=");current_url = url_array[0];}else if (current_url.indexOf('&locale=')!=-1) {url_array = current_url.split("&locale=");current_url = url_array[0];}//Check if the URL string already has parameters; if yes start with "&", if no start with "?"if (current_url.indexOf('?')==-1) {next_url = current_url + "?" + "locale=" + loc + "&persist_locale=1"; }else {next_url = current_url + "&" + "locale=" + loc + "&persist_locale=1"; }window.location = next_url;picked_locale = '  ';changeCountryDisplay(loc);}function changeCountryDisplay(locale) {locDiv = "countryDiv_" + locale;document.getElementById(locDiv).style.fontWeight = "bold";document.getElementById(locDiv).blur(); if (locale != "en_US") unBold("countryDiv_en_US");if (locale != "en_GB") unBold("countryDiv_en_GB");if (locale != "en_IE") unBold("countryDiv_en_IE");if (locale != "ja_JP") unBold("countryDiv_ja_JP");if (locale != "fr_FR") unBold("countryDiv_fr_FR");if (locale != "de_DE") unBold("countryDiv_de_DE");if (locale != "it_IT") unBold("countryDiv_it_IT");if (locale != "es_ES") unBold("countryDiv_es_ES");if (locale != "nl_NL") unBold("countryDiv_nl_NL");if (locale != "pl_PL") unBold("countryDiv_pl_PL");if (locale != "pt_BR") unBold("countryDiv_pt_BR");}function unBold(divID) {if (document.getElementById(divID)) {document.getElementById(divID).style.fontWeight = "normal";}}function getLocale() {return en_GB;}if ( navigator.appName == 'Microsoft Internet Explorer') {document.write(' ');}else {document.write(' Home Jet Crash - Awesome Video (3 Diffrent Views) // | | | Playing All Videos: document.write(quicklist_count); | | | | Remove videos as I watch them Rate this video: messages = new Array("Rate this video", "Poor", "Nothing special", "Worth watching", "Pretty cool", "Excellent!"); ratingComponent = new UTRating('ratingDiv', 5, 'ratingComponent', 'ratingForm', 'ratingMessage', '', 'L', messages); ratingComponent.starCount=4; onLoadFunctionList.push(function() { ratingComponent.drawStars(4, true); }); Views: 161,234 | Comments: 200 | Favourited: 460 times Sites Linking to This Video: Loading Info... | |