document.writeln(""); document.writeln("Loading Bollywood News flash..."); function NewsPopup(url) { popupHandle = open(url, 'BollywoodSamachar', 'width=700,top=0,left=0,directories=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,copyhistory=no,status=no'); } // Ticker startup function startTicker() { // Define run time values theCurrentStory = -1; theCurrentLength = 0; // Locate base objects if (document.getElementById) { theAnchorObject = document.getElementById("tickerAnchor"); runTheTicker(); } else { document.write(""); return true; } } // Ticker main run loop function runTheTicker() { var myTimeout; // Go for the next story data block if(theCurrentLength == 0) { theCurrentStory++; theCurrentStory = theCurrentStory % theItemCount; theStorySummary = theSummaries[theCurrentStory].replace(/"/g,'"'); theTargetLink = theSiteLinks[theCurrentStory]; theAnchorObject.href = theTargetLink; thePrefix = ""; //" + theLeadString + " } // Stuff the current ticker text into the anchor theAnchorObject.innerHTML = theStorySummary.substring(0,theCurrentLength) + whatWidget(); // Modify the length for the substring and define the timer if(theCurrentLength != theStorySummary.length) { theCurrentLength++; myTimeout = theCharacterTimeout; } else { theCurrentLength = 0; myTimeout = theStoryTimeout; } // Call up the next cycle of the ticker setTimeout("runTheTicker()", myTimeout); } // Widget generator function whatWidget() { if(theCurrentLength == theStorySummary.length) { return theWidgetNone; } if((theCurrentLength % 2) == 1) { return theWidgetOne; } else { return theWidgetTwo; } } // Main starts here. var theCharacterTimeout = 50; var theStoryTimeout = 2000; var theWidgetOne = ''; var theWidgetTwo = '-'; var theWidgetNone = ''; var theLeadString = 'Newsbar:   '; var theSummaries = new Array(); var theSiteLinks = new Array(); var theItemCount = 25;theSiteLinks[0]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127338/not-just-as-my-co-star-as-a-person-too-i-only-have-love-for-him-says-parineeti-on-arjun-kapoor/");'; theSummaries[0]=''Not just as my co-star, as a person, too, I only have love for him' says Parineeti on Arjun Kapoor - SantaBanta.com'; theSiteLinks[1]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127336/a-slap-was-the-ice-breaker-between-kajol-and-riddhi-sen/");'; theSummaries[1]='A slap was the ice-breaker between Kajol and Riddhi Sen - SantaBanta.com'; theSiteLinks[2]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127335/taanaji-the-unsung-warrior-goes-on-floor/");'; theSummaries[2]='Taanaji: The Unsung Warrior goes on floor! - SantaBanta.com'; theSiteLinks[3]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127326/heres-your-daily-dose-of-midnight-titbits-from-xxx/");'; theSummaries[3]='Here's your daily dose of 'Midnight TitBits' from 'X.X.X.' - SantaBanta.com'; theSiteLinks[4]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127341/akshay-wished-her-princess-happy-birthday-with-a-lovely-post/");'; theSummaries[4]='Akshay wished her 'Princess' happy birthday with a lovely post! - SantaBanta.com'; theSiteLinks[5]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127340/shraddha-shares-a-heartfelt-letter-she-received-as-she-starts-shooting-for-saina-nehwal-biopic/");'; theSummaries[5]='Shraddha shares a heartfelt letter she received as she starts shooting for Saina Nehwal Biopic! - SantaBanta.com'; theSiteLinks[6]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127339/loveyatri-hosts-an-extravagant-musical-journey-of-love-with-a-special-concert/");'; theSummaries[6]='Loveyatri hosts an extravagant musical journey of love with a special concert - SantaBanta.com'; theSiteLinks[7]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127337/shraddhas-stree-beats-alias-raazi-at-the-box-office/");'; theSummaries[7]='Shraddha's Stree beats Alia's Raazi at the Box Office! - SantaBanta.com'; theSiteLinks[8]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127334/after-thugs-of-hindostan-amitabh-bachchan-to-start-shooting-for-jhund/");'; theSummaries[8]='After Thugs Of Hindostan, Amitabh Bachchan to start shooting for 'Jhund'! - SantaBanta.com'; theSiteLinks[9]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127333/frydays-party-number-jimmy-choo-by-fazilpuria-is-out/");'; theSummaries[9]='Fryday's Party Number, Jimmy Choo by Fazilpuria is out! - SantaBanta.com'; theSiteLinks[10]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127332/ekta-kapoor-to-be-felicitated-as-the-icon-of-excellence-at-the-tycoons-of-tomorrow-awards/");'; theSummaries[10]='Ekta Kapoor to be felicitated as the Icon of Excellence at the Tycoons of Tomorrow awards - SantaBanta.com'; theSiteLinks[11]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127331/shilpa-shetty-kundra-reveals-new-words-which-she-learnt-on-amazon-prime-video-originals-hear-me-love-me/");'; theSummaries[11]='Shilpa Shetty Kundra reveals new words which she learnt on Amazon Prime Video Original's 'Hear Me, Love Me' - SantaBanta.com'; theSiteLinks[12]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127330/ekta-kapoor-smells-the-scents-of-success-on-the-cover-of-india-today-magazine/");'; theSummaries[12]='Ekta Kapoor smells the scents of success on the cover of India Today magazine - SantaBanta.com'; theSiteLinks[13]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127329/a-fan-named-his-kid-after-superstar-mahesh-babu/");'; theSummaries[13]='A fan named his kid after Superstar Mahesh Babu - SantaBanta.com'; theSiteLinks[14]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127328/dia-mirza-represents-the-country-voices-strong-opinion-at-the-social-good-summit-in-new-york/");'; theSummaries[14]='Dia Mirza represents the country, voices strong opinion at the Social Good Summit in New York - SantaBanta.com'; theSiteLinks[15]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127327/what-jack-sparrows-character-was-inspired-by-lord-krishna/");'; theSummaries[15]='What! Jack Sparrow's character was inspired by Lord Krishna? - SantaBanta.com'; theSiteLinks[16]='Javascript:NewsPopup("http://www.BollywoodSamachar.com/ShowNews.asp?NewsSite=&NewsUrl=http://www.santabanta.com/bollywood/127325/baazaar-trailer-asks-you-to-cross-the-line-to-win-the-game/");'; theSummaries[16]='Baazaar Trailer asks you to cross the line to win the game! - SantaBanta.com'; startTicker();