//*********************************************************
//Learnhanzi Flashcards (www.learnhanzi.com/flashcards)
//Version 0.0.1
//
//This is the javascript file for hanzi flashcards portlet
//Link this file to your site, or cut and paste the code below
//and you will have a nice hanzi flashcard portlet on your site.
//
//You also need a stylesheet named lhfc.css
//If you don't have it get it at www.learnhanzi.com/flashcards
//It can be used to customize the look of the portlet
//
//You can use this code and redistribute it on the condition
//that you include this header
//
//For feedback, questions etc contact feedback@learnhanzi.com
//For more information and latest version, go to http://www.learnhanzi.com/flashcards
//
//****** IMPORTANT ********
//Copyright to this code and all the code dynamically loaded by this script
//belongs to Komut Konsult EF (www.komut.se)
//This code and all the code dynamically loaded by this script
//is distributed WITHOUT ANY WARRANTY;
//without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//By using this code you agree to not hold Komut Konsult liable
//for any problems it might cause whatsoever
//************************************************************

//var fchost = "http://localhost/lh_utv/";
var fchost = "http://50.57.85.79/";
//var fchost = "http://www.learnhanzi.com/";

//var lf_host is created by fc loadscript, works inside the fc
var lf_js=document.createElement("script");
lf_js.type="text/javascript";
lf_js.id="lf_js";
lf_js.src=fchost;

lf_js.src+="flashcards/lf_js.php?x=0&y=0&r=true&hclink=1&hotd=1";

document.getElementsByTagName("head")[0].appendChild(lf_js);
//End script
