//function checkID(){
//    alert(title);
//}
//checkID();


// file info - script to buy D2D title only

function dt (productLink, d2dtitle){
 
                var d2dBox = "<style type=\"text/css\">";

                d2dBox += ".headerbar h1 {margin:0px;}#fileinfo{margin:0px 0 57px 0px;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;position:absolute; top:250px; left:250px;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D .guide {font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Buy " + d2dtitle + " now!</div>";

                d2dBox += "<div class=\"prod\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\">Buy it NOW on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}

// file info - script to buy D2D guide only

function dg (productLink, d2dtitle){


				var d2dBox = "<style type=\"text/css\">";

                d2dBox += ".headerbar h1 {margin:0px;}#fileinfo{margin:0px 0 57px 0px;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;position:absolute; top:250px; left:250px;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;margin-bottom:6px;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D .guide {font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Improve your " + d2dtitle + " game play now</div>";

                d2dBox += "<div class=\"guide\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\" title=\"Buy the Guide on Direct2Drive\">Buy the Guide on Direct2Drive</a></div>";

                d2dBox += "</div>";

                document.write (d2dBox);

}

// file info - script to buy both title and guide

function db (productLink, guideLink, d2dtitle){


				var d2dBox = "<style type=\"text/css\">";
				
                d2dBox += ".headerbar h1 {margin:0px;}#fileinfo{margin:0px 0 57px 0px;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;position:absolute; top:250px; left:250px;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;margin-bottom:6px;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D .guide {font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Buy " + d2dtitle + " now!</div>";

                d2dBox += "<div class=\"prod\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\" title=\"Buy it Now on Direct2Drive\">Buy it Now on Direct2Drive</a></div>";

				d2dBox += "<div class=\"guide\"><a href=\"http:\/\/www.direct2drive.com" + guideLink + "\" title=\"Buy the Guide on Direct2Drive\">Buy the Guide on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}




// file info - script for preorder

function dpre (productLink, d2dtitle){


                var d2dBox = "<style type=\"text/css\">";

                d2dBox += ".headerbar h1 {margin:0px;}#fileinfo{margin:0px 0 57px 0px;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;position:absolute; top:250px; left:250px;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;margin-bottom:6px;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D .guide {font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:217px;color:#fff;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D .pre a:link,#buyD2D .pre a:visited{background:url(/_img/d2d/btn_preorderonD2D.gif) no-repeat top;display:block;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .pre a:hover{background:url(/_img/d2d/btn_preorderonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Preorder " + d2dtitle + " now!</div>";

                d2dBox += "<div class=\"pre\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\" title=\"Preorder it Now on Direct2Drive\">Preorder it NOW on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}



// section - script for title

function st (productLink, d2dtitle){


				var d2dBox = "<style type=\"text/css\">";
				
                d2dBox += ".sectionbox{display:block;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:218px;height:36px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;margin:5px auto;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;float:left;width:217px;height:18px;text-indent:-5000px;overflow:hidden;margin-bottom:6px; margin-right:10px;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Buy " + d2dtitle + " now!</div>";

                d2dBox += "<div class=\"prod\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\" title=\"Buy it Now on Direct2Drive\">Buy it Now on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}


// section - script for guide

function sg (guideLink, d2dtitle){


				var d2dBox = "<style type=\"text/css\">";
				
                d2dBox += ".sectionbox{display:block;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:218px;height:36px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;margin:5px auto;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;float:left;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Improve your " + d2dtitle + " game play now</div>";

				d2dBox += "<div class=\"guide\"><a href=\"http:\/\/www.direct2drive.com" + guideLink + "\" title=\"Buy the Guide on Direct2Drive\">Buy the Guide on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}



// section - script for both

function sb (productLink, guideLink, d2dtitle){


				var d2dBox = "<style type=\"text/css\">";
				
                d2dBox += ".sectionbox{display:block;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:445px;height:36px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;margin:5px auto;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;float:left;width:217px;height:18px;text-indent:-5000px;overflow:hidden;margin-bottom:6px; margin-right:10px;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;float:left;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Buy " + d2dtitle + " now!</div>";

                d2dBox += "<div class=\"prod\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\" title=\"Buy it Now on Direct2Drive\">Buy it Now on Direct2Drive</a></div>";

				d2dBox += "<div class=\"guide\"><a href=\"http:\/\/www.direct2drive.com" + guideLink + "\" title=\"Buy the Guide on Direct2Drive\">Buy the Guide on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}



// section - script for preorder

function sp (productLink, d2dtitle){


				var d2dBox = "<style type=\"text/css\">";
				
                d2dBox += ".sectionbox{display:block;}#buyD2D{font:normal normal 11px Arial,Helvetica,sans-serif;background:#6d6f71;width:218px;height:36px;color:#fff;padding:5px 5px 7px 5px;border:1px solid #dcdcdc;display:block;margin:5px auto;}#buyD2D .txt{margin-bottom:4px;color:#fff;}#buyD2D .prod a:link,#buyD2D .prod a:visited{background:url(/_img/d2d/btn_buyonD2D.gif) no-repeat top;display:block;float:left;width:217px;height:18px;text-indent:-5000px;overflow:hidden;margin-bottom:6px; margin-right:10px;}#buyD2D .prod a:hover{background:url(/_img/d2d/btn_buyonD2D_on.gif) no-repeat bottom;}#buyD2D .guide a:link,#buyD2D .guide a:visited{background:url(/_img/d2d/btn_buyguideonD2D.gif) no-repeat top;display:block;float:left;width:217px;height:18px;text-indent:-5000px;overflow:hidden;}#buyD2D .guide a:hover{background:url(/_img/d2d/btn_buyguideonD2D_on.gif) no-repeat bottom;}#buyD2D a:focus{outline:0;}";

                d2dBox += "</style>";

                d2dBox += "<div id=\"buyD2D\">";

                d2dBox += "<div class=\"txt\">Preorder " + d2dtitle + " now!</div>";

                d2dBox += "<div class=\"prod\"><a href=\"http:\/\/www.direct2drive.com" + productLink + "\" title=\"Buy it Now on Direct2Drive\">Preorder it NOW on Direct2Drive</a></div>";

                d2dBox += "</div>";

 

                document.write (d2dBox);

}

