var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070404&x=2612',
		'title': '',
		'imageId': '70070404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070390&x=2612',
		'title': '',
		'imageId': '70070390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070394&x=2612',
		'title': '',
		'imageId': '70070394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070399&x=2612',
		'title': '',
		'imageId': '70070399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070393&x=2612',
		'title': '',
		'imageId': '70070393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070403&x=2612',
		'title': '',
		'imageId': '70070403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070396&x=2612',
		'title': '',
		'imageId': '70070396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070395&x=2612',
		'title': '',
		'imageId': '70070395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070386&x=2612',
		'title': '',
		'imageId': '70070386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070400&x=2612',
		'title': '',
		'imageId': '70070400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070392&x=2612',
		'title': '',
		'imageId': '70070392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070391&x=2612',
		'title': '',
		'imageId': '70070391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070385&x=2612',
		'title': '',
		'imageId': '70070385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070384&x=2612',
		'title': '',
		'imageId': '70070384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070407&x=2612',
		'title': '',
		'imageId': '70070407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070388&x=2612',
		'title': '',
		'imageId': '70070388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070389&x=2612',
		'title': '',
		'imageId': '70070389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070406&x=2612',
		'title': '',
		'imageId': '70070406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070405&x=2612',
		'title': '',
		'imageId': '70070405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070402&x=2612',
		'title': '',
		'imageId': '70070402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070387&x=2612',
		'title': '',
		'imageId': '70070387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070398&x=2612',
		'title': '',
		'imageId': '70070398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070397&x=2612',
		'title': '',
		'imageId': '70070397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008616&docid=70070401&x=2612',
		'title': '',
		'imageId': '70070401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008616';

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";
	})
}
