<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs
title="Google Webmaster Help"
directory_title="Google Webmaster Help"
title_url="http://www.youtube.com/user/__UP_channel__"
description="Google Webmaster Help. Browse and watch Google videos from your iGoogle home page."
author="Gadzi"
author_affiliation="Gadzi"
author_location="Honolulu, Hawaii" author_photo="http://hosting.gmodules.com/ig/gadgets/file/104462838893004134091/profile.jpg" author_aboutme="My name is Patrick Sexton I am a consultant for gadget strategies for brand promotion. I discuss Google gadgets at SEOish.com" author_link="http://www.seoish.com" author_quote="Flying is learning how to throw yourself at the ground and miss. - Douglas Adams"
author_email="gadgets@gadzi.com"
screenshot="http://hosting.gmodules.com/ig/gadgets/file/104462838893004134091/gwh.jpg"
thumbnail="http://hosting.gmodules.com/ig/gadgets/file/104462838893004134091/tn.jpg"
scrolling="false"
height = "330"
width="250"
>
<Require feature="minimessage"/>
<Require feature="setprefs"/>
</ModulePrefs>
<UserPref
name="channel"
datatype="hidden"
default_value="GoogleWebmasterHelp"
/>
<UserPref
name="channel_title"
datatype="hidden"
default_value="GoogleWebmasterHelp"
/>

<Content type="html"> <![CDATA[
<script src="http://www.google.com/jsapi/?key=internal-ig-youtube&debug=t" type="text/javascript"></script>
<script src="http://www.google.com/uds/solutions/slideshow/gfslideshow.js" type="text/javascript"></script>
<script src="http://www.google.com/uds/solutions/videoshow/gsvideoshow.js" type="text/javascript"></script>
<style type="text/css">
@import url("http://www.gadzi.com/gadgets/webmasterhelp.css");
body {
background-color: white;
color: black;
font-family: verdana, arial;
font-size: 12px;
margin: 0;
}

#vs {
margin : auto;
padding : 4px 8px;
min-width : 220px;
}

.loading {
width: 100%;
padding-top: 10px;
font-size : 11px;
text-align : center;
color : #dddddd;
}
</style>

<script type="text/javascript">
google.load("search", "1");

function OnLoad__MODULE_ID__() {
var prefs = new _IG_Prefs(__MODULE_ID__);

var channel_value = cleanse(prefs.getString("channel"));
var channel_title = cleanse(prefs.getString("channel_title"));

skinGadget(channel_value);
var options = {
linkTarget : google.search.Search.LINK_TARGET_PARENT,
channel : channel_value,
title : channel_title
}
new GSvideoShow(document.getElementById("vs"), options);

/**
* Runtime support for processing args
* and skinning the gadget
*/
function cleanse(channel) {
return channel;
}
function skinGadget(channel) {
var skinCss = "http://www.google.com/ig/modules/youtube_content/";
if ( channel == "fordmodels" ||
channel == "happyslip" ||
channel == "smosh" ||
channel == "shosports" ||
channel == "ea" ||
channel == "officialspicegirls" ) {
skinCss = skinCss + channel + ".css";
} else {
skinCss = "http://hosting.gmodules.com/ig/gadgets/file/104462838893004134091/test.css";
}
google.loader.writeLoadTag("css", skinCss, false);
}
}

// IG's kick starter
_IG_RegisterOnloadHandler(OnLoad__MODULE_ID__);
</script>
<div id="vs"><span class="loading">Loading...</span></div>
]]>

</Content>
</Module>

