// JavaScript Document

function validet() {
	var vards = document.registracija.vards.value;
	var epasts = document.registracija.emails.value;
	var msg = "";
	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
	   if(reg.test(epasts) == false || vards == "" || vards == null) {
		   if(reg.test(epasts) == false) {
				msg += " Ievadita e-pasta adrese noradita nekorekti.";   
		   }
		   if(vards == "" || vards == null) {
				msg += " Ievaditais vards noradits nekorekti.";   
		   }
		   
		   alert(msg);
		  return false;		  
	   } else {
		   return true;	
	   }

}

$(document).ready(function() {
		
		
		$("a#eng").click(function() {
				$("a#eng").css("font-weight","bold");
				$("a#lat").css("font-weight","normal");
				$("#dalib").html("Participant List updated on March 16");
				$("#send").html("Send");
				$("#head1").html("DIGITAL INSPIRATION SEMINAR");
				$("#head2").html("MARCH 17, RIGA, REVAL HOTEL LATVIJA");
				$(".programma").html("Program");
				$("#dal_vards").html("Name, last name:");
				$("#dal_meil").html("E-mail:");
				$("#dal_tlf").html("Phone:");
				$("#org_nos").html("Organization:");
				$("#org_reg").html("Organization registration number:");
				$("#org_addr").html("Organization address:");
				$("#past_indx").html("Postal code:");
				$("#dal_bank").html("Bank:");
				$("#kont_nr").html("Account number:");
				$("#kont_pers").html("Program:");
				$("#komentari").html("Comments, Suggestions:");
				$(".par_seminaru").html("About Seminar");
				$(".par_paragraph").html("The rules have changed! More and more customers are using digital media that provides more oportunities for companies to reach their target audience even more precisely and effectively. Therefore we organize one day seminar \"Inspired & Digital 2010\" to talk about the rules of the digital environment, provide more understanding about customer needs and behaviour in order to help companies apply the most effective digital media channels for solutions that involve and engage customers!");
				$("#datums").html("Date: March 17, Riga");
				$("#vieta").html("Venue: Reval Hotel Latvija, Elizabetes str.55, Riga, Latvia");
				$(".reg").html("Feedback");
				$(".kafija").html("Coffee break");
				$(".noslegums").html("Conclusion");
				$("#organ").html("* The organizers reserve the right to make changes to the event program.");
				$("#agra_reg").html("Early registration price by March 10: ");
				$(".lvl3").html("Feedback");
				$(".lvl4").html("40LVL (incl. VAT)");
				$("#dal_maks").html("Registration price after March 10: ");
				$(".dal_sar").html("Participants list");
				$(".reg_ok").html("Thank you!");
				$(".paldies").html("<br /><br />Inspired Digital team");
				$(".contacts").html("Contacts");
				$(".kas").html("Participants");
				$("h3#reg_now").html("Feedback");
				
				$("#ieteikt").html("Suggest others");
				$(".organize").html("Organized by:");
				$(".sadarbiba").html("In cooperation with:");
				$(".atbalsta").html("Sponsors:");
				
				$(".art2").html("<img src=\"dalibnieki/Artuurs.jpg\" id=\"port\" width=\"103\" height=\"110\" alt=\"art&#363;rs mednis\" />Art&#363;rs Mednis is one of the most active bloggers and new media experts in Latvia. Art&#363;rs has realized many successful projects in social media and non-traditional marketing fields. Currently leading Inspired Digital departament providing online marketing solutions, non-standard digital solution and customer activation in social and new media.<br /><br /><a href=\"http://twitter.com/arturs\" target=\"_blank\">http://twitter.com/arturs</a><br /><a href=\"http://arturs.jaffa.lv/\" target=\"_blank\">http://arturs.jaffa.lv/</a>");
				$(".art1").html("WHAT IS WHAT IN DIGITAL AGE? <i style=\"font-size:11px; color: gray; font-style:normal;\">(LAT)</i>");
				
				$(".th2").html("<img id=\"port\" src=\"dalibnieki/Thomas.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />Thomas is a co-founder of Cancoon, a website that was aimed to become the french Facebook. Currently is a co-founder of KRDS, a web agency that imagines and develops successful social media applications. KRDS is the French leading company regarding Facebook brand marketing. KRDS won the 2009 Facebook French Application Contest with the application For A New Capitalism imagined and developed for Danone, the world leader in fresh dairy products.<br /><br /><b>About Presentation</b><br /> In the presentation Thomas will describe what brands should do to reach out to users on Facebook: (create a page and an application) and will  talk about 3 brands he has worked for: TF1 (French leading TV channel), Canal + (another French TV channel) and BNP Paribas (French bank). <br /><br /><a href=\"http://www.twitter.com/KRDS\" target=\"_blank\">twitter.com/KRDS</a><br /><a href=\"http://www.facebook.com/krdstwitter.com/KRDS\" target=\"_blank\">www.facebook.com/krdstwitter.com/KRDS</a><br /><a href=\"http://www.facebook.com/krds\" target=\"_blank\">www.facebook.com/krds</a>");
				$(".th1").html("HOW FACEBOOK WILL REPLACE THE HUMAN RELATIONSHIP WITH THE BRANDS <i style=\"font-size:11px; color: gray; font-style:normal;\">(ENG)</i>");
				
				$(".nic2").html("<img id=\"port\" src=\"dalibnieki/Nico.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />He graduated from Cambridge University with a Masters in Engineering and has worked for multinational companies in both the green tech and travel sectors before setting up Mixcloud in the summer of 2008. With a background in freelance webdesign, he has a wide range of client experience working with various small and medium size organisations. He has a passion for great design and a strong understanding of Information architecture and user experience.<br /><br /><b>About Presentation</b><br /> In the presentation Nico will talk about history and overview of Music, radio and internet industry and would talk about new trends, social media and challenges for new business models. <br /><br /><a href=\"http://www.nicoperez.com/\" target=\"_blank\">http://www.nicoperez.com/</a><br /><a href=\"http://www.mixcloud.com/\" target=\"_blank\">http://www.mixcloud.com/</a><br /><a href=\"http://twitter.com/nicoperez\" target=\"_blank\">http://twitter.com/nicoperez</a>");
				$(".nic1").html("THE MUSIC AND RADIO ON THE INTERNET: WHAT'S NEXT? <i style=\"font-size:11px; color: gray; font-style:normal;\">(ENG)</i>");
				
				$(".nat2").html("<img id=\"port\" src=\"dalibnieki/Natasha.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />Natasha Friis Saxberg is the founder of Mentory and partner in Webcom ApS, the company that produced Mentory and other startups. Webcom Labs also founded Eksperten in 1998 - the largest IT community in Scandinavia, sold to IDG in 2002. Natasha is also a co-author of a Twitter book in Denmark.<br /><br /><b>About Presentation</b><br />The real-time web has influenced corporations around the globe, by tearing down the wall between the organisations and their customers. But how can the real-time web bring value and Return on Investment to corporations? This presentation focuses on how organisations can ensure ROI by using their strategy as goal and social media as the means to achieve results on the web. Cases from around the world, shows how different businesses and corporations has cultivated the social web into value. Real-time social media also requires a new set of rules to online behaviour and culture.<br /><br /><a href=\"http://twitter.com/nfsaxberg\" target=\"_blank\">http://twitter.com/nfsaxberg</a><br /><a href=\"http://www.facebook.com/nfsaxberg#!/nfsaxberg?v=wall\" target=\"_blank\">www.facebook.com/nfsaxberg#!/nfsaxberg?v=wall</a><br /><a href=\"http://www.natasha.saxberg.dk\" target=\"_blank\">www.natasha.saxberg.dk</a>");
				$(".nat1").html("RETURN ON INVESTMENT IN REALTIME SOCIAL MEDIA <i style=\"font-size:11px; color: gray; font-style:normal;\">(ENG)</i>");
				
				$(".ern2").html("<img id=\"port\" src=\"dalibnieki/Ernests.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />Erensts &Scaron;t&#257;ls is a co-owner of the company Soon. He has extensive experience in internet planning and helps companies to realize projects and mobile solutions. Ernets has implemented the brand Blublu that specializes in Bluetooth and 2d barcode development. Ernests also organizes Open Coffee Club meetings for entrepreneurs, investors and programmers that are interested in businesses on internet.<br /><br /><a href=\"http://www.soon.lv/blog/\" target=\"_blank\">http://www.soon.lv/blog/</a><br /><a href=\"http://twitter.com/so_on\" target=\"_blank\">http://twitter.com/so_on</a>");
				$(".ern1").html("STUDY ON LATVIAN TWITTER USERS <i style=\"font-size:11px; color: gray; font-style:normal;\">(LAT)</i>");
				$("h3#reg_now").css("color","white");
		});
		$("a#lat").click(function() {
				$("a#lat").css("font-weight","bold");
				$("a#eng").css("font-weight","normal");
				$("div#xyz").css("margin-top","58px");
				$("#send").html("Nosutit");
				$("#head1").html("DIGIT&#256;L&#256;S IEDVESMAS SEMIN&#256;RS");
				$("#head2").html("2010. GADA 17. MART&#256;, REVAL HOTEL LATVIJA");
				$(".programma").html("Programma");
				$("#dal_vards").html("Dal&#299;bnieka v&#257;rds, uzv&#257;rds:");
				$("#dal_meil").html("Dal&#299;bnieka e-pasta adrese:");
				$("#dal_tlf").html("Dal&#299;bnieka telefona numurs:");
				$("#org_nos").html("Organiz&#257;cias nosaukums:");
				$("#org_reg").html("Organiz&#257;cias re&#287;istr&#257;cias numurs /Pers.kods:");
				$("#org_addr").html("Organiz&#257;cijas adrese");
				$("#past_indx").html("Pasta indekss");
				$("#dal_bank").html("Banka:");
				$("#kont_nr").html("Bankas konts:");
				$("#kont_pers").html("Kontaktpersonas v&#257;rds, uzv&#257;rds, t&#257;lr. numurs, e-pasta adrese (Ja at&#353;&#311;iras no dal&#299;bnieka personas datiem):");
				$("#komentari").html("Atsauksmes, koment&#257;ri, ieteikumi");
				$("#dalib").html("Dalibnieku saraksts atjaunots 16. marta, plkst. 09:00");
				
				
				$(".par_seminaru").html("Par semin&#257;ru");
				$(".par_paragraph").html("Digit&#257;l&#257; iedvesma &#353;odien nepiecie&#353;ama ikvienam m&#257;rketinga un komunik&#257;ciju speci&#257;listam. Tom&#275;r tikai retais p&#257;rzina digit&#257;l&#257;s vides sp&#275;les noteikumus un sp&#275;j piemekl&#275;t efekt&#299;v&#257;kos digit&#257;lo mediju kan&#257;lus risin&#257;jumiem, kas uzrun&#257; un iesaista! T&#257;d&#275;&#316; &#353;ogad pirmo reizi organiz&#275;jam digit&#257;las iedvesmas semin&#257;ru, kura m&#275;r&#311;auditorija ir m&#257;rketinga speci&#257;listi un digit&#257;l&#257;s komunik&#257;cijas interesenti!");
				$("#datums").html("Datums: 2010. gada 17. mart&#257;");
				$("#vieta").html("Vieta: Reval Hotel Latvija, Elizabetes iela 55, R&#299;ga");
				$(".reg").html("Atsauksmes");
				$(".kafija").html("Kafijas pauze");
				$(".noslegums").html("Nosl&#275;gums");
				$("#organ").html("* Organizatori patur ties&#299;bas veikt izmai&#326;as pas&#257;kuma programm&#257;.");
				$(".agra_reg").html("Agr&#257;s re&#287;istr&#257;cijas dal&#299;bas maksa l&#299;dz 10.martam: ");
				$(".lvl3").html("Atsauksmes");
				$(".lvl4").html("40LVL (t.sk. PVN)");
				$("#dal_maks").html("Dal&#299;bas maksa p&#275;c 10.marta: ");
				$(".dal_sar").html("Dal&#299;bnieku saraksts");
				//$(".seit").html("&Scaron;eit pavisam dr&#299;z ievietosim inform&#257;ciju par dal&#299;bniekiem.");
				$(".reg_ok").html("Paldies");
				$(".paldies").html("<br /><br />Digit&#257;l&#257;s iedvesmas komanda");
				$(".contacts").html("Kontakti");
				$(".kas").html("Kas v&#275;l piedal&#299;sies?");
				$("#reg_now").html("Atsauksmes");
				$("#ieteikt").html("Ieteikt citiem");
				$(".organize").html("Organiz&#275;:");
				$(".sadarbiba").html("Sadarb&#299;b&#257; ar:");
				$(".atbalsta").html("Atbalsta:");
				$(".art2").html("<img src=\"dalibnieki/Artuurs.jpg\" id=\"port\" width=\"103\" height=\"110\" alt=\"art&#363;rs mednis\" />Art&#363;rs Mednis ir viens no Latvijas atpaz&#299;stam&#257;kajiem blogeriem un jauno mediju speci&#257;listiem, kura kont&#257; ir vair&#257;ki veiksm&#299;gi realiz&#275;ti projekti soci&#257;lo mediju, interneta m&#257;rketinga un netradicion&#257;l&#257; m&#257;rketinga jom&#257;s. Art&#363;rs vada Inspired Digital, kas specializ&#275;jas tie&#353;saistes m&#257;rketinga (PR, buzz, viral) kampa&#326;u un strat&#275;&#287;iju izstr&#257;d&#275; un realiz&#257;cij&#257;, digit&#257;l&#257; satura veido&#353;an&#257;, tie&#353;saistes mediju pl&#257;no&#353;an&#257; un klientu aktiviz&#275;&#353;an&#257; soci&#257;lajos un jaunajos medijos.<br /><br /><a href=\"http://twitter.com/arturs\" target=\"_blank\">http://twitter.com/arturs</a><br /><a href=\"http://arturs.jaffa.lv/\" target=\"_blank\">http://arturs.jaffa.lv/</a>");
				$(".art1").html("PAS&#256;KUMA ATKL&#256;&Scaron;ANA. KAS IR KAS DIGIT&#256;LAJ&#256; LAIKMET&#256;. K&#256; TO PIELIETOT? <i style=\"font-size:11px; color: gray; font-style:normal;\">(LAT)</i>");
				
				$(".th2").html("<img id=\"port\" src=\"dalibnieki/Thomas.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />2006. gad&#257; Thomas izveidoja Cancoon - pirmo fran&#269;u soci&#257;lo t&#299;klu l&#299;dzv&#275;rt&#299;gu Facebook. Thomas ir ar&#299; vado&#353;&#257;s Francijas interneta a&#287;ent&#363;ras KRDS l&#299;dzdibin&#257;t&#257;js, kas att&#299;sta aplik&#257;cijas soci&#257;lajiem t&#299;kliem un str&#257;d&#257; ar t&#257;diem z&#299;moliem k&#257;- Danone, Eurosport, Canal + u.c. Sav&#257; prezent&#257;cij&#257; Thomas st&#257;st&#299;s par to, k&#257; efekt&#299;v&#257;k sasniegt savu m&#275;r&#311;auditoriju, aktiviz&#275;jot z&#299;molus Facebook t&#299;kl&#257;.<br /><br /><b>About Presentation</b><br />In the presentation Thomas will describe what brands should do to reach out to users on Facebook: (create a page and an application) and will  talk about 3 brands he has worked for: TF1 (French leading TV channel), Canal + (another French TV channel) and BNP Paribas (French bank). <br /><br /><a href=\"http://www.twitter.com/KRDS\" target=\"_blank\">twitter.com/KRDS</a><br /><a href=\"http://www.facebook.com/krdstwitter.com/KRDS\" target=\"_blank\">www.facebook.com/krdstwitter.com/KRDS</a><br /><a href=\"http://www.facebook.com/krds\" target=\"_blank\">www.facebook.com/krds</a>");
				$(".th1").html("HOW FACEBOOK WILL REPLACE THE HUMAN RELATIONSHIP WITH THE BRANDS <i style=\"font-size:11px; color: gray; font-style:normal;\">(ENG)</i>");
				
				$(".nic2").html("<img id=\"port\" src=\"dalibnieki/Nico.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />Nico Perez ir viens no popul&#257;r&#257; interneta projekta Mixcloud.com dibin&#257;t&#257;jiem. Projekts pav&#275;ris neierobe&#382;otas iesp&#275;jas d&#299;d&#382;ejiem populariz&#275;t un dal&#299;ties ar DJ miksiem. Mixcloud.com ir lielisks piem&#275;rs tam, k&#257; nostiprin&#257;t komunik&#257;ciju, veiksm&#299;gi izmantojot interneta pied&#257;v&#257;t&#257;s iesp&#275;jas. Sav&#257; prezent&#257;cij&#257; Nico Perez dal&#299;sies iespaidos par interneta radio, m&#363;zikas att&#299;st&#299;bas tendenc&#275;m un komunik&#257;cijas att&#299;st&#299;bas tendenc&#275;m internet&#257;.<br /><br /><b>About Presentation</b><br /> In the presentation Nico will talk about history and overview of Music, radio and internet industry and would talk about new trends, social media and challenges for new business models. <br /><br /><a href=\"http://www.nicoperez.com/\" target=\"_blank\">http://www.nicoperez.com/</a><br /><a href=\"http://www.mixcloud.com/\" target=\"_blank\">http://www.mixcloud.com/</a><br /><a href=\"http://twitter.com/nicoperez\" target=\"_blank\">http://twitter.com/nicoperez</a>");
				$(".nic1").html("THE MUSIC AND RADIO ON THE INTERNET: WHAT'S NEXT? <i style=\"font-size:11px; color: gray; font-style:normal;\">(ENG)</i>");
				
				$(".nat2").html("<img id=\"port\" src=\"dalibnieki/Natasha.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />Natasha Saxberg ir d&#257;&#326;u web a&#287;ent&#363;ras Webcom l&#299;dz&#299;pa&#353;niece, kas uz&#326;&#275;mumiem pied&#257;v&#257; interneta un soci&#257;lo mediju risin&#257;jumus. Natasha ir ar&#299; mentoringa projekta Mentory dibin&#257;t&#257;ja, k&#257; ar&#299; d&#257;&#326;u gr&#257;matas par Twitter (Twitterbogen.dk) l&#299;dzautore. Natasha regul&#257;ri piedal&#257;s da&#382;&#257;d&#257;s konferenc&#275;s un lekcij&#257;s, kur st&#257;sta par atdevi no soci&#257;lo t&#299;klu izmanto&#353;anas.<br /><br /><b>About Presentation</b><br />The real-time web has influenced corporations around the globe, by tearing down the wall between the organisations and their customers. But how can the real-time web bring value and Return on Investment to corporations? This presentation focuses on how organisations can ensure ROI by using their strategy as goal and social media as the means to achieve results on the web. Cases from around the world, shows how different businesses and corporations has cultivated the social web into value. Real-time social media also requires a new set of rules to online behaviour and culture.<br /><br /><a href=\"http://twitter.com/nfsaxberg\" target=\"_blank\">http://twitter.com/nfsaxberg</a><br /><a href=\"http://www.facebook.com/nfsaxberg#!/nfsaxberg?v=wall\" target=\"_blank\">www.facebook.com/nfsaxberg#!/nfsaxberg?v=wall</a><br /><a href=\"http://www.natasha.saxberg.dk\" target=\"_blank\">www.natasha.saxberg.dk</a>");
				$(".nat1").html("RETURN ON INVESTMENT IN REALTIME SOCIAL MEDIA <i style=\"font-size:11px; color: gray; font-style:normal;\">(ENG)</i>");
				
				$(".ern2").html("<img id=\"port\" src=\"dalibnieki/Ernests.jpg\" width=\"103\" height=\"110\" alt=\"thomas jestin\" />Ernests &Scaron;t&#257;ls ir uzn&#275;ma Soon l&#299;dz&#299;pa&scaron;nieks. Divus gadus nodarbojas ar interneta un mobilo risin&#257;jumu izp&#275;ti un veido&scaron;anu. Veidojis z&#299;molu Blublu, kas specializ&#275;jas bluetooth un 2d barcode risin&#257;jumu izstr&#257;d&#275;. Vietu rekomend&#257;cijas port&#257;la bovnoaygee.com idejas autors. Organiz&#275; ik m&#275;ne&scaron;a Open Coffee Club tik&scaron;an&#257;s, kas apvieno jaunos interneta uzn&#275;m&#275;jus un nozares interesentus - investorus, programm&#275;t&#257;jus, uzn&#275;m&#275;jus. <br /><br /> <b>Par prezent&#257;ciju</b><br />Visp&#257;r&#275;js Latvijas Tviterversa apraksts un atsl&#275;gas skaitli. Vid&#275;j&#257; lietot&#257;ja apraksts. \"Televizora\" soci&#257;l&#257;s sp&#275;les norise un g&#363;t&#257;s atzinas no m&#257;rketinga skatu punkta.<br /><br /><a href=\"http://www.soon.lv/blog/\" target=\"_blank\">http://www.soon.lv/blog/</a><br /><a href=\"http://twitter.com/so_on\" target=\"_blank\">http://twitter.com/so_on</a>");
				$(".ern1").html("LATVIJAS TVITERVERSS. P&#274;T&#298;JUMS PAR LATVIJAS TVITERA LIETOT&#256;JIEM <i style=\"font-size:11px; color: gray; font-style:normal;\">(LAT)</i>");
				$("h3#reg_now").css("color","white");
		});
});
