<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
     title="My Flash Games Cabinet"
     title_url="http://sangear.googlepages.com/"
     description="Play a Collection of your Favorite Flash Puzzles, Tutorials and Games, Flash SWF and FLV, Videos and Movies"
     height="543" width="650"
     directory_title="My Flash Games Cabinet"
     author="Anantha Narayan"
     author_location="Bangalore, India"
     author_affiliation="SAN Gear"
     screenshot="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/myswf.jpg"
     thumbnail="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/myswf-tn.jpg"
     scaling="false"
     scrolling="false"
     author_photo="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/anantha-narayan.png"
     author_aboutme="Electronic Webmaster"
     author_link="http://sangear.googlepages.com/"
     author_quote="From SoulNet to InterNet"
     author_email="delabs@yahoo.com"/>
<UserPref name="siu_0" display_name="Game-00 URL"/>
<UserPref name="sit_0" display_name="Game-00 Title"/>
<UserPref name="siu_1" display_name="Game-01 URL"/>
<UserPref name="sit_1" display_name="Game-01 Title"/>
<UserPref name="siu_2" display_name="Game-02 URL"/>
<UserPref name="sit_2" display_name="Game-02 Title"/>
<UserPref name="siu_3" display_name="Game-03 URL"/>
<UserPref name="sit_3" display_name="Game-03 Title"/>
<UserPref name="siu_4" display_name="Game-04 URL"/>
<UserPref name="sit_4" display_name="Game-04 Title"/>
<UserPref name="siu_5" display_name="Game-05 URL"/>
<UserPref name="sit_5" display_name="Game-05 Title"/>
<UserPref name="siu_6" display_name="Game-06 URL"/>
<UserPref name="sit_6" display_name="Game-06 Title"/>
<UserPref name="siu_7" display_name="Game-07 URL"/>
<UserPref name="sit_7" display_name="Game-07 Title"/>
<UserPref name="siu_8" display_name="Game-08 URL"/>
<UserPref name="sit_8" display_name="Game-08 Title"/>
<UserPref name="siu_9" display_name="Game-09 URL"/>
<UserPref name="sit_9" display_name="Game-09 Title"/>
<UserPref name="siu_10" display_name="Game-10 URL"/>
<UserPref name="sit_10" display_name="Game-10 Title"/>
<UserPref name="siu_11" display_name="Game-11 URL"/>
<UserPref name="sit_11" display_name="Game-11 Title"/>
<UserPref name="siu_12" display_name="Game-12 URL"/>
<UserPref name="sit_12" display_name="Game-12 Title"/>
<UserPref name="siu_13" display_name="Game-13 URL"/>
<UserPref name="sit_13" display_name="Game-13 Title"/>
<UserPref name="siu_14" display_name="Game-14 URL"/>
<UserPref name="sit_14" display_name="Game-14 Title"/>
<UserPref name="siu_15" display_name="Game-15 URL"/>
<UserPref name="sit_15" display_name="Game-15 Title"/>
<Content type="html"><![CDATA[
<script type="text/javascript">
//Start ScreenPlay
var prefs = new _IG_Prefs(__MODULE_ID__);
var ghig_path = "http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/"
//
var seg_0 = new Image();
seg_0.src = ghig_path + "0.png";
var seg_1 = new Image();
seg_1.src = ghig_path + "1.png";
var seg_2 = new Image();
seg_2.src = ghig_path + "2.png";
var seg_3 = new Image();
seg_3.src = ghig_path + "3.png";
var seg_4 = new Image();
seg_4.src = ghig_path + "4.png";
var seg_5 = new Image();
seg_5.src = ghig_path + "5.png";
var seg_6 = new Image();
seg_6.src = ghig_path + "6.png";
var seg_7 = new Image();
seg_7.src = ghig_path + "7.png";
var seg_8 = new Image();
seg_8.src = ghig_path + "8.png";
var seg_9 = new Image();
seg_9.src = ghig_path + "9.png";
//
var play_btn = new Image();
play_btn.src = ghig_path + "play.png";
var stop_btn = new Image();
stop_btn.src = ghig_path + "stop.png";
//
var myflv1 ="<embed src='";
var myflv2 ="' type='application/x-shockwave-flash' wmode='transparent' width='618' height='500'></embed>";
//  
var site_list=new Array();
site_list[0] = "http://www.adobe.com/products/flash/about/flashegg2.swf";
site_list[1] = "http://www.music.vt.edu/musicdictionary/appendix/pitch/Full_Keyboard_Final.swf";
site_list[2] = "http://www.learnenglish.org.uk/games/magic-gopher-central.swf";
site_list[3] = "http://artpad.art.com/artpad/painter/painter.swf";
site_list[4] = "http://pbskids.org/africa/piano/thumb_piano.swf";
site_list[5] = "http://www.planet-science.com/outthere/environ/nature_quiz.swf";
site_list[6] = "http://www.gieson.com/Library/projects/utilities/metronome/metronome.swf";
site_list[7] = "http://codes.mashable.com/img/flash/color-picker.swf";
site_list[8] = "http://www.readwritethink.org/materials/comic/cartoon10.swf";  
site_list[9] = "http://www.gieson.com/Library/projects/games/matter/matter.swf";
site_list[10] = "http://ngfl.northumberland.gov.uk/music/music.swf";  
site_list[11] = "http://www.gopiano.com/pianokeyboard.swf";  
//
var site_name=new Array();
site_name[0] = "Fun Flash Games";
site_name[1] = "Multimedia Music Dictionary - <a href='http://www.music.vt.edu/musicdictionary/' target='_blank'>Music Keyboard</a>";
site_name[2] = "Magic Gopher - <a href='http://www.britishcouncil.org/learnenglish.htm' target='_blank'>British Council Learn English</a>";
site_name[3] = "artPad - <a href='http://artpad.art.com/gallery/' target='_blank'>Digital Canvas</a>";
site_name[4] = "Thumb Piano - <a href='http://pbskids.org/' target='_blank'> PBS KIDS Activities</a>";
site_name[5] = "Nature Noise - <a href='http://www.planet-science.com/outthere/environ/' target='_blank'>Planet Science</a>";
site_name[6] = "Metronome <a href='http://www.gieson.com/Library/projects/utilities/metronome/' target='_blank'>Wimpy Beat Box</a>";
site_name[7] = "Pick Color - <a href='http://codes.mashable.com/color-code-picker' target='_blank'>Color Hex Code Picker</a>";
site_name[8] = "Comic Creator - <a href='http://www.readwritethink.org/materials/comic/' target='_blank'>ReadWriteThink Student Materials</a>";
site_name[9] = "Matter <a href='http://www.gieson.com/Library/projects/games/matter/' target='_blank'>Recognize shapes within shapes</a>";
site_name[10] = "The Music House Sounds - <a href='http://ngfl.northumberland.gov.uk/music/' target='_blank'>Northumberland Music Resources</a>";
site_name[11] = "On-Line Piano Lessons - <a href='http://www.gopiano.com/' target='_blank'>Piano Keyboard</a>";    
//
var site_no=0;
var play_live=0;
var path_str;
var name_str;
//
//
function get_sets(){  
for (i = 0; i < 16; i++){
path_str = "prefs.getString('siu_" + i +"')";
name_str = "prefs.getString('sit_" + i +"')";
if(eval(path_str)){site_list[i] = eval(path_str);}
if(eval(name_str)){site_name[i] = eval(name_str);}
}
}
//
function play_sites(){
get_sets();
if(play_live==0){
play_live=1;
document.images.play_img.src =   stop_btn.src;
linktext[0]= site_name[site_no];
show_text(0,'page_now');
linktext[1]= myflv1 + site_list[site_no] + myflv2;
show_text(1,'tube_now');  
}
else{
play_live=0;
document.images.play_img.src =   play_btn.src;
show_text(2,'page_now');
linktext[1] = "<br/><br/>Press Play to Start<br/><br/><b>" + site_name[site_no] + "</b>";
show_text(1,'tube_now');  
}
show_sno();
}
//
function play_now(){
get_sets();
play_live=0;
document.images.play_img.src =   play_btn.src;
linktext[0]= site_name[site_no];
show_text(0,'page_now');
linktext[1] = "<br/><br/>Press Play to Start<br/><br/><b>" + site_name[site_no] + "</b>";
show_text(1,'tube_now'); 
show_sno();  
}
//
function prev_sites(){
if (site_no>0){site_no--;}
play_now();  
}
//
function next_sites(){
if (site_no < 15 && site_list[site_no+1]){site_no++;}
play_now();
}
//
// Online Help Start
//adapted from Link Description script- www.dynamicdrive.com
var linktext=new Array()
linktext[0]=""
linktext[1]=""
linktext[2]="Flash Games Cabinet <a href='http://sangear.googlepages.com/flash-games' target='_blank'>Help</a>"
linktext[3]="<br/><br/>Press Play to Start"
//
var ns6=document.getElementById&&!document.all
var ie=document.all

function show_text(thetext, whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}

function resetit(whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=' '
else if (ns6) document.getElementById(whichdiv).innerHTML=' '
}
//  Online Help End
//
var site_str="";
//
function show_sno() {
if(site_no>9){site_str = "h"+ site_no;}
else{site_str = "h0"+ site_no;}
//
document.images.sno1.src = eval("seg_" + site_str.charAt(2) + ".src");
document.images.sno2.src = eval("seg_" + site_str.charAt(1) + ".src");
}
//
//
//End of the ScreenPlay
//
</script>
<div class="sandbox">
<div class="display_set">
<img align="middle" name="sno2" src="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/0.png"><img align="middle" name="sno1" src="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/0.png" >
</div>
<div class="control_set">
<img class="btn_img" alt="Prev" title="Prev" onclick="prev_sites();" src="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/prev.png"><img alt="Play/Stop" title="Play/Stop" onclick="play_sites();" class="btn_img" name="play_img" src="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/play.png" ><img alt="Next" title="Next" class="btn_img" onclick="next_sites();" src="http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/next.png" >
</div>
<div class="credits"><a target="_blank" href="http://www.geocities.com/delabs/">SAN Gear</a></div>
<div class="back_set"></div>
<div id="site_bar"><span id="page_now">Flash Games Cabinet <a href="http://sangear.googlepages.com/flash-games" target='_blank'>Help</a></span></div>
<div id="tube_bar"><span id="tube_now"><br/><br/> 
Settings of this Gadget<br/><br/>URL of the SWF Game or FLV Video and Titles for 15 Flash Games.<br/><br/>   
The Flash Game URL should end with .swf<br/><br/>There are 15 Flash Tutors and Games Preset, Set Number and Play.
</span></div>
</div>  
<style type="text/css">
font{
	color: #F0FFF0;
	font-size: 11px;
}
img {
	margin: 1px 1px 1px 1px;
	padding: 0px 0px 0px 0px;
}

.btn_img {
	margin: 0px 4px 0px 4px;
	padding: 0px 0px 0px 0px;
}


a:link,a:active,a:visited {
	text-decoration: none;
	color: #000000;
	font-weight: bold;
	font-size: 11px;
}

a:hover {
	text-decoration: none;
	color: #FF0084;
	font-weight: bold;
	font-size: 11px;
}

#tube_now a,#tube_now a:link,#tube_now a:active,#tube_now a:visited {
	text-decoration: none;
	color: #FCFF99;
	font-size: 12px;
}

#tube_now a:hover {
	text-decoration: none;
	color: #9EFF99;
	font-size: 12px;
}  
      
.sandbox{
	background-image: url(http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/gamebox.png);
	position: relative;
	left: 0;
	top: 0;
	height:543px;
	width:650px;
	z-index: 1;
	background-color: transparent;
}
.back_set{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: absolute;
	left: 14px;
	top: 20px;
	height:498px;
	width:619px;
        z-index: 5;
        background-image: url(http://hosting.gmodules.com/ig/gadgets/file/115620494432743575267/bluetype.jpg);
}
.credits{
	position: absolute;
	left: 500px;
	top: 524px;
	z-index: 400;
	height: 11px;
	width: 70px;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: 1px;
}
.control_set{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: absolute;
	left: 160px;
	top: 520px;
	z-index: 200;
	height: 22px;
	width: 120px;
        text-align: center;
        background-color: transparent;
}
.display_set{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: absolute;
	border: 1px solid #9AA9CC;
	left: 310px;
	top: 519px;
	z-index: 200;
	height:22px;
	width:60px;
	text-align: center;
        background-color: #000000;
}
#site_bar{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
	left: 30px;
	top: 2px;
	z-index: 200;
	height:19px;
	width:400px;
	color: #667788;
	font-size: 10px;
	text-align: center;
	font-weight: bold;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}
#page_now{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
        z-index: 200;
	position: relative;
	color: #667788;
	font-size: 10px;
	font-weight: bold;
	font-family: Verdana,Arial,Helvetica,sans-serif;
} 
#tube_bar{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
	left: 14px;
	top: 0px;
	z-index: 200;
	height:501px;
	width:619px;
	color: #F0FFF0;
	font-size: 12px;
	text-align: center;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}
#tube_now{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
        z-index: 200;
	position: relative;
	color: #F0FFF0;
	font-size: 12px;
	text-align: center;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}   
</style>
]]></Content>
</Module>





