var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438370&x=5515',
		'title': '',
		'imageId': '59438370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438371&x=5515',
		'title': '',
		'imageId': '59438371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438372&x=5515',
		'title': '',
		'imageId': '59438372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438373&x=5515',
		'title': '',
		'imageId': '59438373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438374&x=5515',
		'title': '',
		'imageId': '59438374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438375&x=5515',
		'title': '',
		'imageId': '59438375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438376&x=5515',
		'title': '',
		'imageId': '59438376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438377&x=5515',
		'title': '',
		'imageId': '59438377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438378&x=5515',
		'title': '',
		'imageId': '59438378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438379&x=5515',
		'title': '',
		'imageId': '59438379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438380&x=5515',
		'title': '',
		'imageId': '59438380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438381&x=5515',
		'title': '',
		'imageId': '59438381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438382&x=5515',
		'title': '',
		'imageId': '59438382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438383&x=5515',
		'title': '',
		'imageId': '59438383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438384&x=5515',
		'title': '',
		'imageId': '59438384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438385&x=5515',
		'title': '',
		'imageId': '59438385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438386&x=5515',
		'title': '',
		'imageId': '59438386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438387&x=5515',
		'title': '',
		'imageId': '59438387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438388&x=5515',
		'title': '',
		'imageId': '59438388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438389&x=5515',
		'title': '',
		'imageId': '59438389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438390&x=5515',
		'title': '',
		'imageId': '59438390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001813&docid=59438391&x=5515',
		'title': '',
		'imageId': '59438391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001813';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
