How to add script to ? I want to add a call for 2 external scripts in the page.tpl.php.

The scripts are:

 &lt;script type="text/javascript" src="http://use.typekit.com/12345.js"&gt;&lt;/script&gt;
 &lt;script type="text/javascript"&gt;try{Typekit.load();}catch(e){}&lt;/script&gt;


Now in D7 you can call them directly from page.tpl.php like

drupal_add_js()


right?

But I'm working on a D6 site right now.

So within mytheme directory I add to my template.php file

function mytheme_preprocess_page(&amp;$vars, $hook) {
    drupal_set_html_head('&lt;script type="text/javascript" src="http://use.typekit.com/12345.js"&gt;&lt;/script&gt;');
    $vars['head'] = drupal_get_html_head();
  }


It doesn't work. The page no longer loads. 

So the question is, How do I get both those scripts in the head? What should the code look like? I know the real answer is learn php, but in the meantime
You should concatenate $vars['head'] no replacing it:
Your code should be:

function mytheme_preprocess_page(&amp;$vars, $hook) {
    drupal_set_html_head('&lt;script type="text/javascript" src="http://use.typekit.com/12345.js"&gt;&lt;/script&gt;');
    $vars['head'] .= drupal_get_html_head();
}


Notice the .= after $vars['head'].