//DETECT
var browserlang = navigator.language;
var browser = navigator.appName;
var IE = navigator.appName == "Microsoft Internet Explorer";
var CHROME = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
var MOZ = ( navigator.appName == "Netscape" && !CHROME ) ? true : false;
var OPERA = navigator.appName == "Opera";
var SAFARI = navigator.userAgent.toLowerCase().indexOf('safari/') != -1;
var os = navigator.userAgent;
if ( IE ){
	browserlang = navigator.browserLanguage;
}
if ( browserlang.length > "2" ){
	browserlang = browserlang.substr( 0, 2 );
}

if ( browserlang != "de" && browserlang != "en" ){
	browserlang = "en";
}

browserlang = "en";

var messages = new Array();
messages["de"] = new Array();
messages["en"] = new Array();
//MESSAGES
messages["en"]["BYE"] = "<b>Well done!</b><br><br>You passed the PaperQuiz with flying colours!<br>We are honoured to be able to welcome such a great Papermint connoisseur like you in our papery world soon  :)";			
messages["en"]["WELCOME"] = "<b>Welcome to Papermint!</b><br><br>Are YOU ready for the crazy world of Papermint? <br>I bet you are after this entertaining quiz :)<br>Just master <b>13 questions</b> and become a real Papermint Pro!";
messages["en"]["DESC"] = "You will see some Objects from the Papermint world - answer the Questions. If you have more than 5 Questions right - you are ready and additionally you will win mint what you can use for buying funky Papermint items in the Papermint world!";
messages["en"]["STARTQUIZ_NOTREADY"] = "ANYWAY... You have to learn something! Let's start!!!";
messages["en"]["STARTQUIZ_READY"] = "cOOOOLLL Let's start!!!";

messages["en"]["ANSWER_RIGHT"] = "<b>CONGRATZ!</b>";//<br>You are absolutely right! We look forward to welcoming you as a future paper personality in the Papermint world!";
messages["en"]["ANSWER_WRONG"] = "<b>OOPS!</b>";//<br>Guess you just accidentally clicked on the wrong answer?";

//LOADING QUEST
messages["en"]["QUESTION0"] = "Do you enjoy <b>waiting</b> long time for a game to load?";
messages["en"]["QUESTION0_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"0\",\"a\")' class='radiobutton'> "+"<b>Of course!</b><br><i>I'm a world known loading bar collector.</i>";
messages["en"]["QUESTION0_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"0\",\"b\")' class='radiobutton'> "+"<b>Not so much to be honest.</b><br><i>I must do something meaningful while waiting. For example doing the AWESOME Papermint quiz!!!</i>";
messages["en"]["QUESTION0_EXP"] = "<br><br>Getting to know Papermint the enjoyable way while loading?<br><br>Great idea!<br><br>Let's GO!";

//ROBERTA
messages["en"]["QUESTION1"] = "This <b>wacky old lady</b> is going to approach you. How will you react?";
messages["en"]["QUESTION1_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"1\",\"a\")' class='radiobutton'> "+"<b>No way I'll trust her!</b><br><i>This crazy old lady looks like she's hiding giant scissors somewhere she'll use on sweet paper people like me walking by. If I don't want to continue my way with my pretty paper head cut off, then I'd better avoid her.</i>";
messages["en"]["QUESTION1_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"1\",\"b\")' class='radiobutton'> "+"<b>This is Roberta!</b><br><i>An ancient paper robot known for helping new paper people with their first steps in the wide world of Papermint. I heard that she's a bit over-motivated sometimes, but actually really sweet. I guess I should help her improving her human language skills.</i>";
messages["en"]["QUESTION1_EXP"] = "<br><br>Roberta is just an old, cranky PAPER ROBOT who wants to try her limited human vocabulary on you.<br>Some might consider her a bit annoying as she just really talks to anyone.<br>However, deep inside her papery CPU she is a real good character. She also knows quite a bit of Papermint and patience is a virtue so spending some time listening to her broken human might be a good idea.";

//ICONS
messages["en"]["QUESTION2"] = "What the heck are <b>these things?</b>";
messages["en"]["QUESTION2_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"2\",\"a\")' > "+"Powerful zig-zag <b>paper shuriken</b> <br><i>When I've collected enough of them I can cut through the mantle of the Papermint earth and see what's underneath the sheet of paper!</i>";
messages["en"]["QUESTION2_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"2\",\"b\")' > "+"<b>er?!</b>... <br><i>They look cool and represent icons designating the purpose of buildings.<br>Papermint houses all look poetic and surreal so these dedication icons help differentiating between flats, fashion boutiques, furniture stores, drama schools, bars, game arcades, design studios, design supply ware houses and even proper town halls.</i>";
messages["en"]["QUESTION2_EXP"] = "<br><br>In Papermint houses are no boring squares. Everything could be a house. Therefore it is quite important to mind these ICONS indicating the PURPOSE and dedication of a BUILDING. They will help you find the stuff you need. These sings are attached to all houses and explain their particular function:";

//FLAT
messages["en"]["QUESTION3"] = "Can my <b>flat</b> look like a snail?!? <BR>Yes, in Papermint it can  :) <BR>But not all flats look like snails. <br>Can you identify which of the objects shown are actual flats?";
messages["en"]["QUESTION3_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"3\",\"a\")' > "+"<b>kitty, bunny, fish</b>";
messages["en"]["QUESTION3_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"3\",\"b\")' > "+"<b>star, octopus, curvy curve</b>";
messages["en"]["QUESTION3_EXP"] = "<br><br>Kitty, bunny and fish are indeed FLATS.<br>Papermint houses might sometimes look like whales, strawberries, bottles or just viking helmets. Try to think like a teenage kitty on vanilla milk that has got a hold on a bunch of magic crayons and suddenly it becomes totally clear why flats do not have to look like grey concrete boxes  :) <br><br> Therefore, mind the icon! Is it a flat or not? The icon will tell you! <br>The icons here also show that the star is a disco, the octopus a furniture store and the curvy curve a drama school.";

//HELP
messages["en"]["QUESTION4"] = "What's this <b>button</b> for?";
messages["en"]["QUESTION4_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"4\",\"a\")' > "+"It is the longed for <b>cure</b> in my struggles to find the world formula and represents the answer to all my questions.</b>";
messages["en"]["QUESTION4_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"4\",\"b\")' > "+"When pressed, this button will activate a <b>lethal virus</b> on my computer,</b> <i>accordingly taking over my body and leading to the end of the world as we know it. Nothing else.</i>";
messages["en"]["QUESTION4_EXP"] = "<br><br>Sorry, this button is not lethal.<br>It just gives you some ideas of what you can actually DO in Papermint. It will HELP you. <br>It is the manual of how to find the Papermint world formula so to say. <br><br>However, it is just a guide. Go and try some of the things suggested and have fun ... but in the end it's up to you alone to find the meaning of your Papermint life!";

//ACHIEVEMENT
messages["en"]["QUESTION5"] = "You're simply the <b>best</b> in real life. But how can you <i>pown'em</i> all in Papermint?";
messages["en"]["QUESTION5_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"5\",\"a\")' > "+"<b>Papermint is a girl game.</b> <br><i>Girl games are boring, dull and do not contain competitive challenges.<br>So no, there is nothing to achieve really.<i>";
messages["en"]["QUESTION5_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"5\",\"b\")' > "+"<b>Papermint is all about myself!</b><br><i> There are so many great things to achieve in Papermint for a creative, social and adventurous crack like me!<br>So here's a place where I can be the best! I guess I'd click on a button and find out how!</i>";
messages["en"]["QUESTION5_EXP"] = "<br><br>There are many things to achieve in Papermint and rule: <br>Be the most creative and become a famous fashion designer, graffiti artist or decorator, be a social wizard and become an A-list celebrity, explore the oceans and discover secret islands others can just dream of, become a judge or a gardener, an influential political leader or parent of a huge family...<br><br> You can become the BEST! <br>Just believe in yourself and click on this thumbs up button to find out more how to really rule in Papermint! Btw... girls just wanna have fun too!";

//PLANT
messages["en"]["QUESTION6"] = "What are these things? Are they <b>useful</b>?";
messages["en"]["QUESTION6_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"6\",\"a\")' > "+"<b>Papermint plants</b> of course. <br><i> Plants, paper and pullovers - a magic symbiosis: Just imagine psychedelic batik dying parties.</i>";
messages["en"]["QUESTION6_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"6\",\"b\")' > "+"<b>Random objects</b> without any purpose made by a crazy graphic artist daydreaming at work with the rest of the quirky Papermint development team.";
messages["en"]["QUESTION6_EXP"] = "<br><br>These indeed are PLANTS.<br><br>Plants come in a huge variety of shapes and provide colours you can collect, extract and use to dye your hair and clothes.<br>Or sell them to the greedy greasy colour dealer. <br>They get excited and breathe when you come close to them. <br><br>Anyway ... the story about the crazy graphic artist is not completely wrong  ;) ";

//MONEY
messages["en"]["QUESTION7"] = "So, you want to be <b>rich</b>? Will this little plant be able to help?";
messages["en"]["QUESTION7_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"7\",\"a\")' > "+"<b>Of course</b><br>And with this plant I caaaaan! <br>This is mint. Mint is rare and precious. <br>Mint means money!!!";
messages["en"]["QUESTION7_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"7\",\"b\")' > "+"<b>I don't care</b> about the material world. <br>However, this mint plant looks like a funny lucky charm.";
messages["en"]["QUESTION7_EXP"] = "<br><br>You like to own the latest fashion? Love to trade? Want to open a boutique, sell your self-made designs, become rich and famous? <br>Then you have to know your currency: It is MINT. Yes, paper mint. And mint is MONEY. <br>In fact, it can be used like a currency in Papermint and you can trade it for many things, including Paper Coins. Mint also feeds you and keeps your soul healthy. Really. But harvest it with modesty and care and make sure to leave at least one mint at any case. Mint cannot live alone and will refrain from growing on places where all other mints have been wiped out. Beware! The ugly rant weed will take over quickly. Ugh!";

//SHOPPING/CHARACTERTYPES
messages["en"]["QUESTION8"] = "Weight does not matter in a paper world.<br>However, shape does. When you go shopping for the latest fashion you should know what actually suits you. <br>Let's learn about <b>body types</b> and the best ways to cover them fashionably  :)<br>Which tiger-suit will fit our dear little Lady?";
messages["en"]["QUESTION8_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>1</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>2</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>3</b>";
messages["en"]["QUESTION8_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"a\")' > "+"<b>4</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>5</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>6</b>";
messages["en"]["QUESTION8_EXP"] = "<br><br>Every body shape requires a SUITABLE DRESS SIZE. Paper people can be of 6 different body types. <br>In our example, tiger-suit number 4 is the right one for our little Lady. Look for the fashion actually made for her. Everything else will not fit and she just can't wear it!<br> Hence, to avoid disappointments, please check carefully whether the piece fits your body type and sex before you purchase it. That is also important if you want to buy a garment as a gift for another paper person. Will it fit? But don't worry!<br> Big signs in the shops will help you to find the fashion tailored to you:"; 

//WALK
messages["en"]["QUESTION9"] = "How can paper people <b>walk</b> btw?";
messages["en"]["QUESTION9_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"9\",\"a\")' > "+"Intelligent paper people like my humble self use the <b>arrow buttons</b> on the keyboard to move. <br> <i>As I'm extremely versed I even make use of the right mouse button from time to time to pace up and down with pomp and circumstances.</i>";
messages["en"]["QUESTION9_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"9\",\"b\")' > "+"<b>Paper cannot walk.</b><br><i>Paper people might just wait until the wind blows them off their delicate papery feet.</i>";
messages["en"]["QUESTION9_EXP"] = "<br><br>Don't be too shy to ask!<br>Intelligent paper people do use the ARROW BUTTONS to move. And in combination with the RIGHT MOUSE button you'll reach every secret place. <br><br>Fold your way through Papermint!  :) ";

//MINI-MAP - FRIEND FINDER
messages["en"]["QUESTION10"] = "What to do if <b>getting lost</b> in the vast lands of Papermint?";
messages["en"]["QUESTION10_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"10\",\"a\")' > "+"<b>Getting lost? Is that a joke?!</b><br><i>There is a mini-map just in the upper right corner of my screen! It even includes a compass and a friends-finder!</i>";
messages["en"]["QUESTION10_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"10\",\"b\")' > "+"<b>I escape!</b><br><i>I just turn into a paper plane and fly away through the paper clouds. Maybe my palish paper self gets a bit more tanned when closer to the sun?</i>";
messages["en"]["QUESTION10_EXP"] = "<br><br>There is a MINI-MAP just in the upper right corner of the screen that will help you find your way. <br>It even includes practical functions like a compass and a friends-finder! <br>Being a paper plane is also nice though ... so is being a boat  :)  Just do it!";

//CHAT CHANNELS
messages["en"]["QUESTION11"] = "Do you enjoy listening to the <b>permanent sermon</b> in chats?";
messages["en"]["QUESTION11_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"11\",\"a\")' > "+"<b>Yes.</b><br>I'm fascinated by personal tragedies.<br>True life tells the best stories ... and swear words. Reality chat deluxe! I don't wanna miss a thing!";
messages["en"]["QUESTION11_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"11\",\"b\")' > "+"<b>Actually not.</b><br><i>I prefer selecting a chat channel so that I can only hear the things I want to hear, filtered according to my location.</i>";
messages["en"]["QUESTION11_EXP"] = "<br><br>Fair enough. <br>Just in case: By selecting the \"surrounding\", \"zone\" or \"world\" CHAT CHANNEL you'll make sure you only have to listen to the things important to you. They are filtered according to your location. <br>Papermint itself is one big personal story anyway.";

//SOULBOX
messages["en"]["QUESTION12"] = "OMG! What is this <b>thing over your heeeaaad</b>?";
messages["en"]["QUESTION12_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"12\",\"a\")' > "+"It is the digital equivalent of <b>bad breath.</b><br><i>The worse my breath gets, the greener my overhead breath indicator will become and - believe me - I'll get quickly rid of all my socialising stress!</i>";
messages["en"]["QUESTION12_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"12\",\"b\")' > "+"This is a <b>mystic container.</b><br><i>... a floating bubbly wobbly box, that holds nothing less than my soul.</i>";
messages["en"]["QUESTION12_EXP"] = "<br><br>Believe it or not: <br>This thing is indeed your SOULBOX. <br><br>Every person in Papermint has a soul (hopefully). The soulbox shows a bit of your inner values, your character, your personality and the way you live your life in Papermint - your PROFILE so to say. <br>There are values you can choose and some that just grow in you. <br><br>This might help you to find like minded people, and maybe even the love of your life  :) ";

//CHANGE PERSPECTIVE
messages["en"]["QUESTION13"] = "A <b>button</b>, again. What's this one for?";
messages["en"]["QUESTION13_A"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"13\",\"a\")' > "+"<b>Good question.</b><br><i>High time to go to oculist the again?</i>";
messages["en"]["QUESTION13_B"] = "<br><br>"+"<input type='radio' value='yes' onClick='answer(\"13\",\"b\")' > "+"<b>The eye of God.</b><br><i> I can change perspective and see things from an above angle. Wohohooo!</i>";
messages["en"]["QUESTION13_EXP"] = "<br><br>With this button you can change the angle of the camera and therefore: PERSPECTIVE!<br><br>It is quite helpful sometimes to see everything from above. And you feel like a bird!  :) <br><br> A similar view from above is provided when you turn into a paper ball (it's fun, you can be kicked by others! *yay*).";


/////////////////////////////////////////
//GERMAN
/////////////////////////////////////////
messages["de"]["BYE"] = "BRAVO!!! NOW YOU ARE PREPARED FOR PAPERMINT!!! CHOOSE PLAY PAPERMINT AND START! HAVE FUN! ";			
messages["de"]["WELCOME"] = "Welcome to Papermint! Nice to see you here! Papermint is a great place for everyone... almost... Are YOU ready for the crazy world of Papermint? We bet you are after this entertaining quiz!";
messages["de"]["DESC"] = "Du wirst verschiedne Objects from the Papermint world - answer the Questions. If you have more than 5 Questions right - you are ready and additionally you will win mint what you can use for buying funky Papermint items in the Papermint world!";
messages["de"]["STARTQUIZ_NOTREADY"] = "MACHT NIX... You have to learn something! Let's start!!!";
messages["de"]["STARTQUIZ_READY"] = "cOOOOLLL Fangen wir an!!!";

messages["de"]["ANSWER_RIGHT"] = "<b>CONGRATZ!</b><br> <i>You are absolutely right! We look forward to welcoming you as a future citizen of the Papermint world!</i>";
messages["de"]["ANSWER_WRONG"] = "<b>OOPS!<br> Guess you just accidentally clicked on the wrong answer?</b>";


//LOADING QUEST
messages["de"]["QUESTION0"] = "Do you enjoy waiting long time for a game to load?";
messages["de"]["QUESTION0_A"] = getRadioButton( 0, 'a' )+"<b>Of course!</b><br><i>I'm a world known loading bar collector.</i>";
messages["de"]["QUESTION0_B"] = getRadioButton( 0, 'b' )+"<b>Not so much to be honest.</b><br><i>I must do something meaningful while waiting. For example doing the AWESOME Papermint quiz!!!</i>";
messages["de"]["QUESTION0_EXP"] = "<br><br>Getting to know Papermint the enjoyable way while loading?<br><br>Great idea!<br><br>Let's GO!";

//ROBERTA
messages["de"]["QUESTION1"] = "This wacky old lady is going to approach you. How will you react?";
messages["de"]["QUESTION1_A"] = getRadioButton( 1, 'a' )+"<b>No way I'll trust her!</b><br><i>This crazy old lady looks like she's hiding giant scissors somewhere she'll use on sweet paper people like me walking by. If I don't want to continue my way with my pretty paper head cut off, then I'd better avoid her.</i>";
messages["de"]["QUESTION1_B"] = getRadioButton( 1, 'b' )+"<b>This is Roberta!</b><br><i>An ancient paper robot helping known for helping new paper people with their first steps in the wide world of Papermint. I heard that she's a bit over-motivated sometimes, but actually really sweet. I guess I should help her improving her human language skills.</i>";
messages["de"]["QUESTION1_EXP"] = "<br><br>Roberta is just an old, cranky paper robot who wants to try her limited human vocabulary on you. Some might consider her a bit annoying as she just really talks to anyone. However, deep inside her papery CPU she is a real good character. She also knows quite a bit of Papermint and patience is a virtue so spending some time listening to her broken human might be a good idea.";

//ICONS
messages["de"]["QUESTION2"] = "What the heck are these things?";
messages["de"]["QUESTION2_A"] = getRadioButton( 2, 'a' )+"<b>Powerful zig-zag paper shuriken.</b> <br><i>When I've collected enough of them I can cut through the mantle of the Papermint earth and see what's underneath the sheet of paper!</i>";
messages["de"]["QUESTION2_B"] = getRadioButton( 2, 'b' )+"<b>er?! ...</b> <br><i>They look cool and represent icons designating the purpose of buildings. Papermint houses all look poetic and surreal so these dedication icons help differentiating between flats, fashion boutiques, furniture stores, drama schools, bars, game arcades, design studios, design supply ware houses and even proper town halls.</i>";
messages["de"]["QUESTION2_EXP"] = "<br><br>In Papermint houses are no boring squares. Everything could be a house. Therefore it is quite important to mind these ICONS indicating the PURPOSE and dedication of a BUILDING. They will help you find the stuff you need. These sings are attached to all houses and explain their particular function:";

//FLAT
messages["de"]["QUESTION3"] = "Can my flat look like a snail?!? Yes, in Papermint it can  :) But not all flats look like snails. Can you identify which of the objects shown are actual flats?";
messages["de"]["QUESTION3_A"] = getRadioButton( 3, 'a' )+"<b>kitty, bunny, fish</b>";
messages["de"]["QUESTION3_B"] = getRadioButton( 3, 'b' )+"<b>star, octopus, curvy curve</b>";
messages["de"]["QUESTION3_EXP"] = "<br><br>Kitty, bunny and fish are indeed FLATS. Papermint houses might sometimes look like whales, strawberries, bottles or just viking helmets. try to think like a teenage kitty on vanilla milk that has got a hold on a bunch of magic crayons and suddenly it becomes totally clear why flats do not have to look like grey concrete boxes  :) <br><br> Therefore, mind the icon! Is it a flat or not? The icon will tell you! (Icons also show that star is a disco, octopus a furniture store and curvy curve a drama school btw)";

//HELP
messages["de"]["QUESTION4"] = "What's this button for?";
messages["de"]["QUESTION4_A"] = getRadioButton( 4, 'a' )+"<b>It is the longed for cure in my struggles to find the world formula and represents the answer to all my questions.</b>";
messages["de"]["QUESTION4_B"] = getRadioButton( 4, 'b' )+"<b>When pressed, this button will activate a lethal virus on my computer,</b><i>accordingly taking over my body and leading to the end of the world as we know it. Nothing else.</i>";
messages["de"]["QUESTION4_EXP"] = "<br><br>Sorry, this button is not lethal. It just gives you some ideas of what you can actually DO in Papermint. It will HELP you. It is the manual of how to find the Papermint world formula so to say. However, it is just a guide. Go and try some of the things suggested and have fun ... but in the end it's up to you alone to find the meaning of your Papermint life!";

//ACHIEVEMENT
messages["de"]["QUESTION5"] = "You're simply the best in real life. But how can you pown'em all in Papermint?";
messages["de"]["QUESTION5_A"] = getRadioButton( 5, 'a' )+"<b>Papermint is a girl game.</b> <br><i>Girl games are boring, dull and do not contain competitive challenges. So no, there is nothing to achieve really.<i>";
messages["de"]["QUESTION5_B"] = getRadioButton( 5, 'b' )+"<b>Papermint is all about myself!</b><br><i> There are so many great things to achieve in Papermint for a creative, social and adventurous crack like me! So here's a place where I can be the best! I guess I'd click on this button and find out how!</i>";
messages["de"]["QUESTION5_EXP"] = "<br><br>There are many things to achieve in Papermint and rule: Be the most creative and become a famous fashion designer, graffiti artist or decorator, be a social wizard and become an A-list celebrity, explore the oceans and discover secret islands others can just dream of, become a judge or a gardener, an influential political leader or parent of a huge family...<br><br> You can become the BEST! Just believe in yourself and click on this thumbs up button to find out more how to really rule in Papermint! Btw... girls just wanna have fun too!";

//PLANT
messages["de"]["QUESTION6"] = "What are these things?";
messages["de"]["QUESTION6_A"] = getRadioButton( 6, 'a' )+"<b>Plant of course.</b> <br><i> Plants, paper and pullovers - a magic symbiosis: Just imagine psychedelic batik dying parties.</i>";
messages["de"]["QUESTION6_B"] = getRadioButton( 6, 'b' )+"<b>Sculptures made by a crazy graphic artist daydreaming at work with the rest of the quirky Papermint development team.</b>";
messages["de"]["QUESTION6_EXP"] = "<br><br>These indeed are PLANTS. Plants come in a huge variety of shapes and provide colours you can collect, extract and use to dye your hair and clothes. Or sell them to the greedy greasy colour dealer. They get excited and breathe when you come close to them. Anyway ... the story about the crazy graphic artist is not completely wrong  ;) ";

//MONEY
messages["de"]["QUESTION7"] = "So, you want to be rich? Will this little plant be able to help?";
messages["de"]["QUESTION7_A"] = getRadioButton( 7, 'a' )+"<b>Of course I do! </b><br>And with this plant I caaaaan! This is mint. Mint is rare and precious. Mint means money!!!";
messages["de"]["QUESTION7_B"] = getRadioButton( 7, 'b' )+"<b>I don't care about the material world. However, this mint plant looks like a funny lucky charm.";
messages["de"]["QUESTION7_EXP"] = "<br><br>You like to own the latest fashion? Love to trade? Want to open a boutique, sell your self-made designs, become rich and famous?<br>Then you have to know your currency: It is MINT. Yes, paper mint. And mint is MONEY. <br>In fact, it can be used like a currency in Papermint and you can deal it for many things, inclduing Paper Coins. Mint also feeds you and keeps your soul healthy. Really. But harvest it with modesty and care and make sure to leave at least one mint at any case. Mint cannot live alone and will refrain from growing on places where all other mints have been wiped out. Beware! The ugly rant weed will take over quickly. Ugh!";

//SHOPPING/CHARACTERTYPES
messages["de"]["QUESTION8"] = "Weight does not matter in a paper world. However, shape does. When you go shopping for the latest fashion you should know what actually suits you. Let's learn about <b>body types</b> and the best ways to cover them fashionably  :) Which tiger-suit will fit our dear little Lady?";
messages["de"]["QUESTION8_A"] = getRadioButton( 8, 'b' )+"<b>1</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>2</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>3</b>";
messages["de"]["QUESTION8_B"] = getRadioButton( 8, 'b' )+"<b>4</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>5</b><br><br>"+"<input type='radio' value='yes' onClick='answer(\"8\",\"b\")' > "+"<b>6</b>";
messages["de"]["QUESTION8_EXP"] = "<br><br>Shopping is great but get it right! Every body shape requires a SUITABLE DRESS SIZE. Paper people can be of 6 different body types. in our example, tiger-suit number 4 is the right on for our little Lady. She might even look cute in a potato sack but please make sure to decorate her paper body to its full advantage and watch out for the fashion actually made for her. Everything else will not fit and she just can't wear it!<br> Hence, to avoid disappointments, please check carefully whether the piece fits your body type and sex before you purchase it. That is also important if you want to buy a garment as a gift for another paper person. Will it fit?<br> But don't worry!<br> big signs in the shops will help you to find the fashion tailored to you:"; 

//WALK
messages["de"]["QUESTION9"] = "How can paper people walk btw?";
messages["de"]["QUESTION9_A"] = getRadioButton( 9, 'a' )+"<b>Intelligent paper people like my humble self use the arrow buttons on the keyboard to move. </b><br> <i>As I'm extremely versed I even make use of the right mouse button from time to time to pace up and down with pomp and circumstances.</i>";
messages["de"]["QUESTION9_B"] = getRadioButton( 9, 'b' )+"<b>Paper cannot walk. </b><br><i>Paper people might just wait until the wind blows them off their delicate papery feet.</i>";
messages["de"]["QUESTION9_EXP"] = "<br><br>Don't be too shy to ask! Intelligent paper people do use the ARROW BUTTONS to move. And in combination with the RIGHT MOUSE button you'll reach every secret place. Fold your way through Papermint!  :) ";

//MINI-MAP - FRIEND FINDER
messages["de"]["QUESTION10"] = "What to do if getting lost in the vast lands of Papermint?";
messages["de"]["QUESTION10_A"] = getRadioButton( 10, 'a' )+"<b>Getting lost? Is that a joke?!</b><br><i>There is a mini-map just in the upper right corner of my screen! It even includes a compass and a friends-finder!</i>";
messages["de"]["QUESTION10_B"] = getRadioButton( 10, 'b' )+"<b>I escape!</b> <i>I just turn into a paper plane and fly away through the paper clouds. Maybe my palish paper self gets a bit more tanned when closer to the sun?</i>";
messages["de"]["QUESTION10_EXP"] = "<br><br>There is a MINI-MAP just in the upper right corner of the screen that will help you find your way. It even includes practical functions like a compass and a friends-finder! Being a paper plane is also nice though ... so is being a boat  :)  Just do it!";

//CHAT CHANNELS
messages["de"]["QUESTION11"] = "Do you enjoy listening to the permanent sermon in chats?";
messages["de"]["QUESTION11_A"] = getRadioButton( 11, 'a' )+"<b>Yes, I'm fascinated by personal tragedies.</b><br><i>True life tells the best stories ... and swear words. Reality chat deluxe! I don't wanna miss a thing!</i>";
messages["de"]["QUESTION11_B"] = getRadioButton( 11, 'b' )+"<b>Actually not.</b><br><i>I prefer selecting a chat channel so that I can only hear the things I want to hear, filtered according to my location.</i>";
messages["de"]["QUESTION11_EXP"] = "<br><br>Fair enough. Just in case: By selecting the \"surrounding\", \"zone\" or \"world\" CHAT CHANNEL you'll make sure you only have to listen to the things important to you. They are filtered according to your location. Papermint itself is one big personal story anyway.";

//SOULBOX
messages["de"]["QUESTION12"] = "OMG! What is this thing over your heeeaaad?";
messages["de"]["QUESTION12_A"] = getRadioButton( 12, 'a' )+"<b>It is the digital equivalent of bad breath.</b><br><i>he worse my breath gets, the greener my overhead breath indicator will become and - believe me - I'll get quickly rid of all my socialising stress!</i>";
messages["de"]["QUESTION12_B"] = getRadioButton( 12, 'b' )+"<b>This is a mystic container:</b><br><i>a floating bubbly wobbly box, that holds nothing less than my soul.</i>";
messages["de"]["QUESTION12_EXP"] = "<br><br>Believe it or not: This thing is indeed your SOULBOX. Every person in Papermint has a soul (hopefully). The soulbox shows a bit of your inner values, your character, your personality and the way you live your life in Papermint - your PROFILE so to say. <br>There are values you can choose and some that just grow in you. this might help you to find like minded people, and maybe even the love of your life  :) ";

//CHANGE PERSPECTIVE
messages["de"]["QUESTION13"] = "A button, again. What's this one for?";
messages["de"]["QUESTION13_A"] = getRadioButton( 13, 'a' )+"<b>Good question.</b><br><i>High time to go to oculist the again?</i>";
messages["de"]["QUESTION13_B"] = getRadioButton( 13, 'b' )+"<b>The eye of God.</b><br><i> I can change perspective and see things from an above angle. Wohohooo!</i>";
messages["de"]["QUESTION13_EXP"] = "<br><br>With this button you can change the angle of the camera and therefore: PERSPECTIVE! It is quite helpful sometimes to see everything from above. And you feel like a bird!  :) <br><br> A similar view from above is provided when you turn into a paper ball (it's fun, you can be kicked by others! *yay*).";

//STATUS MESSAGES LOADING AND STARTUP

messages["de"]["STATUS_LOADING"] = "THE PAPERMINT WORLD IS LOADING!";
messages["de"]["STATUS_LOGIN"] = "PAPERMINT IS READY FOR YOU TO LOGIN!";
messages["de"]["STATUS_ERROR"] = "FAILED!";
messages["de"]["STATUS_TRUST"] = "YOU HAVE TO TRUST PAPERMINT IF YOU WANT TO PLAY IT";
messages["de"]["STATUS_SUCCESS"] = "DONE!";
messages["de"]["STATUS_PLAYNOW"] = "<center><b>Papermint ist bereit!</b><br><br><br><a href='#' onClick='select(3)'>Jetzt spielen!!!</a></center>";
messages["de"]["STATUS_PLAYNOW_SW"] = "<center><b>Papermint ist bereit!</b><br>Papermint wurde in einem extra Fenster geöffnet!<br><br><br><a href='#' onClick='select(3)'>Jetzt spielen!!!</a></center>";

messages["en"]["STATUS_LOADING"] = "THE PAPERMINT WORLD IS LOADING!";
messages["en"]["STATUS_LOGIN"] = "PAPERMINT IS READY FOR YOU TO LOGIN!";
messages["en"]["STATUS_ERROR"] = "FAILED!";
messages["en"]["STATUS_TRUST"] = "YOU HAVE TO TRUST PAPERMINT IF YOU WANT TO PLAY IT";
messages["en"]["STATUS_SUCCESS"] = "DONE!";
messages["en"]["STATUS_PLAYNOW"] = "<center><b>Papermint is ready!</b><br><br><br><a href='#' onClick='select(3)'>Play now!!!</a></center>";
messages["en"]["STATUS_PLAYNOW_SW"] = "<center><b>Papermint is ready!</b><br>Papermint has opened in a separate window!<br><br><br><a href='#' onClick='select(3)'>Play now!</a></center>";

messages["en"]["PLEASE_TRUST"] = "<h2>Trust in Papermint!</h2>Please select <b>Trust</b> (<b>Run</b>) in the security warning. Trust in Papermint! It's safe.";
messages["de"]["PLEASE_TRUST"] = "<h2>Trust in Papermint!</h2>Please select <b>Trust</b> (<b>Run</b>) in the security warning. Trust in Papermint! It's safe.";


messages["en"]["NO_JAVA"] = "Papermint and Java are friends.<br>Hence, before you can enjoy the pleasures of Papermint please download and install Java. <br> It's safe and really easy as pie. Just click here: <a href='http://www.java.com' target='_blank'>Java Website</a><br><br>See you in Papermint soon!";
messages["de"]["NO_JAVA"] = "Papermint and Java are friends.<br>Hence, before you can enjoy the pleasures of Papermint please download and install Java. <br> It's safe and really easy as pie. Just click here: <a href='http://www.java.com' target='_blank'>Java Website</a><br><br>See you in Papermint soon!";

messages["en"]["JAVA_NEEDED"] = "Hence, before you can enjoy the pleasures of Papermint please download and install Java. Just click here: <a href='http://www.java.com' target='_blank'>Java Website</a>";
messages["de"]["JAVA_NEEDED"] = "Hence, before you can enjoy the pleasures of Papermint please download and install Java. Just click here: <a href='http://www.java.com' target='_blank'>Java Website</a>";


messages["en"]["WRONG_JAVA_VERSION"] = "Papermint and Java are friends. But only Java Version 1.5 or later! Please update your Java. Just click here: <a href='http://www.java.com' target='_blank'>Java Website</a>.";
messages["de"]["WRONG_JAVA_VERSION"] = "Es wird mindestens Java 1.5 Version ben&ouml;tigt!";

messages["en"]["FAIL"] = "<center><b>Sorry!</b><br><br>Something didn't work please try again!</center>";
messages["de"]["FAIL"] = "<center><b>Ups!</b><br><br>Something didn't work please try again!</center>";

messages["en"]["LEAVE_PAGE"] = "Papermint will be closed when you close this page.";
messages["de"]["LEAVE_PAGE"] = "Willst du wirklich dass Papermint geschlossen wird?";

messages["en"]["RUNNING_TWICE"] = "Papermint is already started on your computer. It is in another browser window!";
messages["de"]["RUNNING_TWICE"] = "Papermint ist bereits auf deinem Computer in einem anderen Browser Fenster gestartet!</p>";

messages["en"]["RESTART_1610"] = "<br><br><br><a href='javascript:restartApplet()'>Trust Now!</a>";
messages["de"]["RESTART_1610"] = "<br><br><br><a href='javascript:restartApplet()'>Trust Now!</a>";

messages["en"]["RESTART_15"] = "<p>You have to restart your Browser to get the Security Window again!</p>";
messages["de"]["RESTART_15"] = "<p>Du mu&szlig;t deinen Browser neu starten um die Warnung nochmals zu bekommen!</p>";

messages["en"]["MAC"] = new Array();
messages["en"]["PC"] = new Array();
messages["de"]["PC"] = new Array();
messages["de"]["MAC"] = new Array();

messages["en"]["SEC_WARNING"] = "Don't panic if this standard security warning appears. Papermint is trustworthy and certified so don't hesitate to continue. Papermint cannot harm your computer. <br><br>Select <b>Run</b> (<b>Trust</b>) and go ahead. So many happy paper people are waiting for you already  :) ";
messages["de"]["SEC_WARNING"] = "Don't panic if this standard security warning appears. Papermint is trustworthy and certified so don't hesitate to continue. Papermint cannot harm your computer. Select Run (Trust) and go ahead. So many happy paper people are waiting for you already  :) ";

messages["en"]["PM_LOADING"] = "Papermint is loading onto your computer ... right now!<br>Consider it to be a more happy computer soon  :)<br><br> Waiting can be quality time too! Engage in fun Papermint stuff while loading: <br><br><ul><li>Create your own and unique paper personality in the <a href='#' onclick='select( 1 );'>PaperLab</a>!</li><li>Play the <a href='#' onclick='select(2)'>PaperQuiz</a> and get ready for the quirky world of Papermint!</li></ul> <br><br>Waiting has never been so fun! <br><br>So hurry, we just can't wait for YOU to join!";
messages["de"]["PM_LOADING"] = "Papermint is loading onto your computer ... right noooooow! *yay*<br>Consider it to be a more happy computer soon  :) <br> Waiting can be quality time too! Engage in fun Papermint stuff while loading: Create your own and unique paper personality in the <b>PaperLab</b>! <br>Play the <b>PaperQuiz</b> and get ready for the quirky world of Papermint! Waiting has never been so fun! <br><br>So hurry, we just can't wait for YOU to join!";

messages["en"]["PM_READY_TAB"] = "<a href='#' onclick='select(3)'><img src='play_now_button_textbox.gif' ></a>";
messages["de"]["PM_READY_TAB"] = "Play now!<br>Just click on the <b>Papermint</b> tab in the main window or the <a href='#' onclick='select(3)'>Play Now!</a> button and here we go!";

messages["en"]["PM_FULLSCREEN"] = "To enjoy Papermint fullscreen just click on this button. Wow! Looks amazing, huh? <br><br>However, you can <b>exit</b> the fullscreen mode again by pressing the little button on the upper right corner of your Papermint window.";
messages["de"]["PM_FULLSCREEN"] = "Um Papermint in voller Gr&ouml;&szlig;e genie&szlig;en zu k&ouml;nnen klicke auf Full Screen.<br><br>Du kannst jederzeit den Fullscreen Mode verlassen in dem du auf den kleinen Button links oben im Papermint Fenster klickst!";

messages["en"]["PM_READY_WINDOW"] = "Papermint has opened in a <b>new window</b>. Just check your task bar for the Papermint icon: ";
messages["de"]["PM_READY_WINDOW"] = "Papermint wurde in einem extra Fenster ge&ouml;ffnet. Du findest es in deiner Task Leiste mit dem Papermint Icon: ";

messages["de"]["PM_WINDOW_CLOSED"] = "Du hast das Papermint Fenster bereits geschlossen und willst es wieder öffnen? Klick hier:";
messages["en"]["PM_WINDOW_CLOSED"] = "You closed the Papermint window already and you want to open it again? Click here:";

messages["de"]["usernameRequest"] = new Array();
messages["de"]["createCharacter"] = new Array();
messages["en"]["usernameRequest"] = new Array();
messages["en"]["createCharacter"] = new Array();

messages["de"]["usernameRequest"]["1"] = "Dieser Username steht noch zur Verfuegung!"; //success
messages["de"]["usernameRequest"]["2"] = "<center><b>Ups!</b><br><br>Dieser Username ist bereits vergeben!</center>"; //fail
messages["de"]["usernameRequest"]["-1"] = "";//Ein Fehler ist aufgetreten, Error Code: -1"; //fail
messages["de"]["usernameRequest"]["-2"] = "";//Ein Fehler ist aufgetreten, Error Code: -2"; //fail
messages["de"]["usernameRequest"]["epicFail"] = "";//Ein Fehler ist aufgetreten"; //fail
messages["de"]["usernameRequest"]["usernameNotValid"] = "<center><b>Ups!</b><br><br>Der eingegebene Username ist nicht g&uuml;ltig!</center>";
messages["de"]["usernameRequest"]["passwordNotValid"] = "<center><b>Ups!</b><br><br>Das eingegebene Passwort ist nicht g&uuml;ltig!</center>";
messages["de"]["usernameRequest"]["retypedPasswordNotValid"] = "Passw&ouml;rter stimmen nicht ueberein."; //fail

messages["en"]["usernameRequest"]["1"] = "The username is avaliable!"; //success
messages["en"]["usernameRequest"]["2"] = "<center><b>Sorry!</b><br><br>This username is already existing.</center>"; //fail
messages["en"]["usernameRequest"]["-1"] = "";//An error occurred, Error Code: -1"; //fail
messages["en"]["usernameRequest"]["-2"] = "";//An error occurred, Error Code: -2"; //fail
messages["en"]["usernameRequest"]["epicFail"] = "";//An Error occurred"; //fail
messages["en"]["usernameRequest"]["usernameNotValid"] = "<center><b>Sorry!</b><br><br>The username you have entered is not valid!</center>"; //fail
messages["en"]["usernameRequest"]["passwordNotValid"] = "<center><b>Sorry!</b><br><br>The password you have entered is not valid!</center>"; //fail
messages["en"]["usernameRequest"]["retypedPasswordNotValid"] = "<center><b>Sorry!</b><br><br>The passwords are not the same.</center>"; //fail

messages["de"]["createCharacter"]["1"] = "Gratuliere! <br>Spiele doch das <a href='#' onclick='select(2)'>PaperQuiz</a> während Papermint lädt!"; //success
messages["de"]["createCharacter"]["2"] = "Dieser Character existiert bereits"; //fail
messages["de"]["createCharacter"]["3"] = "Falsche Spieler informationen"; //fail
messages["de"]["createCharacter"]["4"] = "<center><b>Ups!</b><br><br>Dein Character konnte nicht erstellt werden. Bitte versuche es nochmals!</center>"; //fail
messages["de"]["createCharacter"]["5"] = "Der eingegebene Beta Code ist ung&uuml;ltig"; //fail
messages["de"]["createCharacter"]["6"] = "Die maximale Useranzahl fuer diesen Beta Code ist erreicht"; //fail
messages["de"]["createCharacter"]["-1"] = "<center><b>Ups!</b><br><br>Dein Character konnte nicht erstellt werden. Bitte versuche es nochmals!</center> -1"; //fail
messages["de"]["createCharacter"]["-2"] = "<center><b>Ups!</b><br><br>Dein Character konnte nicht erstellt werden. Bitte versuche es nochmals!</center> -2"; //fail
messages["de"]["createCharacter"]["epicFail"] = "Ein Fehler ist aufgetreten"; //fail
messages["de"]["createCharacter"]["fieldsmissing"] = "Bitte f&uuml;lle alle Felder aus!"; //fail
messages["de"]["createCharacter"]["retypepwd"] = "Passw&ouml;rter stimmen nicht ueberein."; //fail
messages["de"]["createCharacter"]["legalterms"] = "Bitte Gesch&auml;ftsvereinbarungen akzeptieren."; //fail
messages["de"]["createCharacter"]["passwordNotValid"] = "<center><b>Ups!</b><br><br>Das eingegebene Passwort ist nicht g&uuml;ltig!</center>"; //fail
messages["de"]["createCharacter"]["usernameNotValid"] = "<center><b>Ups!</b><br><br>Der eingegebene Username ist nicht g&uuml;ltig!</center>"; //fail

messages["en"]["createCharacter"]["1"] = "Congratz! Your paper personality is ready!<br><br>Why not play the <a href='#' onclick='select(2)'>PaperQuiz</a> while Papermint is loading!"; //success
messages["en"]["createCharacter"]["2"] = "<center><b>Sorry!</b><br><br>This username is already existing.</center>"; //fail
messages["en"]["createCharacter"]["3"] = "<center><b>Sorry!</b><br><br>Your character could not have been created (incorrect player data). Please try again!</center>"; //fail
messages["en"]["createCharacter"]["4"] = "<center><b>Sorry!</b><br><br>Your character could not have been created. Please try again!</center>"; //fail
messages["en"]["createCharacter"]["5"] = "The entered beta code is not valid"; //fail
messages["en"]["createCharacter"]["6"] = "The maximum usercount for this beta code has been reached"; //fail
messages["en"]["createCharacter"]["-1"] = "<center><b>Sorry!</b><br><br>Your character could not have been created. Please try again!</center> -1"; //fail
messages["en"]["createCharacter"]["-2"] = "<center><b>Sorry!</b><br><br>Your character could not have been created. Please try again!</center> -2"; //fail
messages["en"]["createCharacter"]["epicFail"] = "<center><b>Sorry!</b><br><br>Your character could not have been created. Please try again!</center>"; //fail
messages["en"]["createCharacter"]["fieldsmissing"] = "<center>Please complete all fields.</center>"; //fail
messages["en"]["createCharacter"]["retypepwd"] = "<center><b>Sorry!</b><br><br>The passwords are not the same.</center>"; //fail
messages["en"]["createCharacter"]["legalterms"] = "<center><b>Sorry!</b><br><br>Please accept the legal terms first.</center>"; //fail
messages["en"]["createCharacter"]["passwordNotValid"] = "<center><b>Sorry!</b><br><br>The password you have entered is not valid!</center>"; //fail
messages["en"]["createCharacter"]["usernameNotValid"] = "<center><b>Sorry!</b><br><br>The username you have entered is not valid!</center>"; //fail

function getMessage( _key ){
	return this.messages[browserlang][_key];
}

function getRadioButton( questnum, answer ){
	return "<br><br><input type='radio' value='yes' onClick='answer(\""+questnum+"\",\""+answer+"\")' class='radiobutton'> ";
}
/**
*
* get the error message =) 
*
**/
function getErrorMessage(errortype, errorkey){
	if ( messages[browserlang][errortype][errorkey] ){
		return messages[browserlang][errortype][errorkey]; 
	}else{
		//alert( "Message Key Missing: "+errortype+" | "+errorkey );
	}
}