function change_image() {
    var image = document.getElementById("cover");
    image.src = "images/finalcover.JPG";
}

function original_image() {
    var image = document.getElementById("cover");
    image.src = "images/newcover.JPG";
}

function roll_over(img1, img2) {
    document.images[img1].src = img2; 
}

function displayLyrics(song) {
    
    var songlyrics = song + "M.GIF";
    var lyrics = document.getElementById("lyrics");
    lyrics.innerHTML = "<img src=images/" + songlyrics + " />";
}

function playsong(song) {
    var so = new SWFObject("../album/playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
    so.addVariable("autoPlay", "yes");
    so.addVariable("soundPath", "album/" + song);
    so.setAttribute("id", "song");
    so.write("flashPlayer");
    var desc = document.getElementById("desc");
    if(song == "ejeevana.mp3") {
        desc.innerHTML = "<b>Ee Jeevana: Sung by Jitendra M.S.</b> <p>The exuberant spirit of youth metaphorically portraying life as a journey... This is the first song composed in Poorna Dhani. This set the theme for the album. Indeed,\"this life is a garden of happiness... at the same its also the medium for victory.\"</p>";
                
    } else if(song == "madhurada.mp3") {
        desc.innerHTML = "<b>Madhurada Dhani: Sung by Jitendra M.S</b><p>Her ever sweet voice and that beautiful smile are haunting me... Its making me crazy... I am unable to think about anything else. This song is the creative outlet for such a state of mine!</p>";
    } else if(song == "musuku.mp3") {
        desc.innerHTML = "<b>Musuku Tumbide: Sung by Balaji T.S</b> <p>The pent up emotions about the vagaries of this world comes out in a purely musical form... There's anger, there's frustration, there's sarcasm and a few words of wisdom with an underlying melody threading all these together. Raaga Revathi provides the much needed soul to portray these emotions </p><p><img src=\"images/Musuku.jpg\" height=\"500\" width=\"500\" onclick=\"window.open('http://somepoornaartfactory.com/images/Musuku.jpg','painting','width=800,height=800')\" title=\"click to enlarge\"/></p><p>The above painting (click image to enlarge) was created by painter <b>Mr. Raghava T</b>who drew inspiration from this song. We highly appreciate your work Mr.Ragahava. ";

    } else if(song == "ravige.mp3") {
        desc.innerHTML = "<b>Ravige Hongiranavu: Sung by Jitendra M.S</b><p>This song celebrates the immense depth of friendship and the font of joy and fun that comes out of it. Be it in joy, be it in trouble, be it when just hanging out fot the heck of it, a friend is one who's always around.</p>";

    } else if(song == "telaaduva.mp3") {
        desc.innerHTML = "<b>Telaaduva Moda: Sung by Balaji T.S</b><p> Have you ever been out in the woods? The whole experience is so enchanting..., be it the chirping of birds, the howling of the wind, the click-clack of the bamboo and the constant whish of the nearby stream... no wonder even a cuckoo would tend to become a poet.</p>";

    } else if(song == "sada.mp3") {
        desc.innerHTML = "<b>Sada: Sung by Jitendra M.S</b> <p> \"If she is like an ocean, then I am on a boat and I don't mind sailing on it forever and forever\". A song of true love sung for one's true love, and one which will be sung again and again forever. </p>";

    } else if(song == "swara.mp3") {
        desc.innerHTML = "<b> Swaraganita: Instrumental </b> <p> This is the fusion jig that we did, trying to bring together elements of carnatic classical and rock in a single number. We used the intricacy of the classical beat arithmetic as a base for such an experiment. Set roughly in the raaga Hindolam, the song ends in trishra nadai with a fibonacci series progression of beat.</p>"; 
    }

}

function displayProfile(name) {
    var profile = document.getElementById("profiletext");
    if(name == "vatsa") {
        profile.innerHTML = " <b> Shrivatsa </b><div>If you meet a group of 100 people with Vatsa as one of them, you will go back remembering only him. The actor, director, script writer, screenplay writer, lyricist, marketer, critic (and what not) all rolled into one. The man with a million ideas and a million states of mind...he adds an extra dollop of life to the activities of SAF. He is driven by a passion to enact and perform in front of a crowd and watch how they react. Besides, he is also gifted with a good literary ability in Kannada... this is evident in the neat lyrics he writes for SAFs songs and of course the peppy dialogues in the plays. Interestingly he loves coding and scripting when it comes to his bread winning deed.</div>"; 
    } else if(name == "dani") {
        profile.innerHTML = "<b> Dani </b> <div>D for dedication... D for discipline... and D for Dani himself. He is the percussionist of SAF. He is an extensively trained Carnatic Mridangam player. Nevertheless, all in the cause of SAF, he readily plays Kanjira and Ghatam with great ease and fluidity, thus adding lots of variety to the beats. In all humility, he describes himself only as a \"Mridangam player\". He can make the percussions whisper, talk, shout and much more as and how he wishes. The keen observer that he is, he tends to document even the minutest things he sees. Otherwise he earns his living as a biologist in a prestigious research foundation. Dhani was officially introduced to the SAF by Balaji.</div>";

    } else if(name == "ravi") {
        profile.innerHTML = "<b> Ravi </b> <div>He is the natural experimenter in SAF. A self-taught musician, he treats the whole experience of learning and playing music more like a lifelong adventure. Though his music-base lies predominantly in carnatic classical, he often loves to try different genres and combinations on the electric guitar and mandolin. He is a physics researcher by occupation and 'guess the same experimenting instincts flow over into the music he composes with Jeetu. For the plays that SAF produces, the background music reverberating to the sequence, would in most part be due to him. A good orator with swinging hands and all that! Ravi was a benchmate and a 'quick solution' mentor to Vatsa during their formative years in PUC.</div>";

    } else if(name =="jitu") {
        profile.innerHTML = "<b> Jitu </b> <div>The ever sweet voice of Jeetu is something which will take you back to your college days replete with sweet romance stories. Any new soft-romantic film song, and chances are that you will hear Jeetu singing it even before you would hear the original. A corporate by profession, he does the composition of the songs with Ravi on their weekend sessions with a few rounds of pool to follow! Not just that, he also deftly renders smooth-sounding rhythm on the acoustic guitar. In essence, he sets the mood of any given song: a kinda \"heartbeat\" which all the others synchronise to. Jeetu and Vatsa learnt A B C D together; they were classmates from pre-nursery.</div>";

    } else if(name == "gokul") {
        profile.innerHTML = "<b> Gokul </b> <div>A music lover + engineer = sound engineer. Though Gokul is not officially part of SPAF he has equally worked for the album. Gokul will be placed next to Budhdha and Gandhi when it comes to patience. He had the same smiling face even at 2am when the team was recording a trck after their working hours on a weekday. Many envy his ears, it can catch even the mirror tweak in the scale and sruti. Gokul comes with the studio package for us! </div>";

    } else if(name == "mahesh") {
        profile.innerHTML = "<b> Mahesh </b> <div>The remote login guy, operating from USA. Blame him if you have any issues with the website. He is the whole and soul owner of the www.somepoornaartfactory.com! A genuine critic and a \"male\" cheerleader for the teama 'perfect' mindset guy; He knows Vatsa from 4th standard!</div>";
    } else if(name == "balaji") {
        profile.innerHTML = "<b> Balaji </b> <div>He is more the \"power\" singer in SAF. He is again an extensively trained carnatic classical vocalist with an amazing range of voice pitch and strength. He can travel through all three octaves with clinical ease and keeping his voice clarity intact. This is really evident in his 10,000 Watts \"Alaaps\" and the \"Swara\" sections of songs. It's not a surprise that he is the fountain of knowledge when it comes to classical ragas and other technicalities. Inspite of being a busy corporate in a multi-national firm, he maitains a strict daily regimen of singing and voice conditioning (riyaaz). Balaji was Vatsa's junior at school. Hence he is dragged and ragged to sing!!</div>";
    }
    window.scrollBy(1450, 0);

}
