/* since mt dosent support the target tag, we really have	no way to assign links as external
so, assume any external links, not in our domain should spawn a new window	*/
itdr.func.DOMLoad(itdr.func.createExternalLinks);
/* setup comment space toggle	*/
with (itdr.classes.CommentSpace) {
	comments (false, true, true); // hideOnLoad, allowToggle, hideIfZero
	trackbacks (true, true); // hideOnLoad, allowToggle
	form (true, true); // hideOnLoad, allowToggle
}
/* setup all the props of the flash header	optional methods are commented out	*/
with (itdr.classes.FlashHeader) {
	use(false);
	//setBasePath("/path/to/blog/files/");
	//setSize(800, 600);
	//setStageColor("#FFFFFF");
	//setHomeURI("/path/to/home/");
	//setSwfPath("/path/to/header/swf/from/base");
	//setVar("someVariable", "variable data");
	setWmode("transparent"); // or "" if no wmode or "transparent" if you really need to see through the swf
	setFlashVersion("7.0.0");
}
/* setup the twitter	optional methods are commented out	*/
with (itdr.classes.TwitterFeed) {
	use(true);
	//setBasePath("/path/to/blog/files/");
	//setTweetTimeline("user");
	//setTwitterer("username", "id", "container class name"); // you can call this as many times as you need
	setAutoHide(false);
	setStringTable({
		loading: "loading my tweets ...",
		anchor: "follow me on twitter",
		title: "TWITTER UPDATES"
	});
}
/* setup the image replace
the image replace class is essentially a wrapper for the excellent cufon text replace
for any of the options, and thier syntax, see:
http://wiki.github.com/sorccu/cufon/api
to create any new fonts:
http://cufon.shoqolate.com/generate/
*/
with (itdr.classes.ImageReplace) {
	use(true);
	loadFont("Bryant_Pro_Regular_400-Bryant_Pro_Regular_italic_400.font.js");
	addRule("h1", {
		fontFamily: 'Bryant Pro Regular'
	});
	addRule("h3", {
		fontFamily: 'Bryant Pro Regular'
	});
	addRule("h1", {
		fontFamily: 'Bryant Pro Regular'
	});
	addRule(".ShowComments a", {
	fontFamily: 'Bryant Pro Regular'
	});
	addRule(".ShowCommentForm a" ,{
	fontFamily: 'Bryant Pro Regular'
	});
	addRule(".SendToFriend a", {
	fontFamily: 'Bryant Pro Regular'
	});
	addRule(".ShareMe", {
	fontFamily: 'Bryant Pro Regular'
	});
	addRule(".ShowContact a", {
	fontFamily: 'Bryant Pro Regular'
	});
	addRule(".archives a", {
	fontFamily: 'Bryant Pro Regular'
	});
	addRule("#more-pages", {
	fontFamily: 'Bryant Pro Regular'
	});
	addRule("h4", {
	fontFamily: 'Bryant Pro Regular'
	});
}
itdr.classes.ImageReplace.start(); // needs to get called last, after everything is setup
