Come posso chiamare un css da una funzione?

codice:
<head>
<script type="text/javascript">
function apricss() {
<link href="file.css" rel="stylesheet" type="text/css">
}
</script>
</head>
<body onLoad="apricss();"> 
</body>
Grazie.