var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648620&x=3157',
		'title': '',
		'imageId': '69648620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648624&x=3157',
		'title': '',
		'imageId': '69648624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648627&x=3157',
		'title': '',
		'imageId': '69648627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648642&x=3157',
		'title': '',
		'imageId': '69648642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648650&x=3157',
		'title': '',
		'imageId': '69648650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648644&x=3157',
		'title': '',
		'imageId': '69648644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648643&x=3157',
		'title': '',
		'imageId': '69648643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648651&x=3157',
		'title': '',
		'imageId': '69648651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648655&x=3157',
		'title': '',
		'imageId': '69648655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648647&x=3157',
		'title': '',
		'imageId': '69648647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648654&x=3157',
		'title': '',
		'imageId': '69648654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648649&x=3157',
		'title': '',
		'imageId': '69648649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648653&x=3157',
		'title': '',
		'imageId': '69648653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648652&x=3157',
		'title': '',
		'imageId': '69648652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648648&x=3157',
		'title': '',
		'imageId': '69648648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648645&x=3157',
		'title': '',
		'imageId': '69648645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648646&x=3157',
		'title': '',
		'imageId': '69648646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648688&x=3157',
		'title': '',
		'imageId': '69648688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648689&x=3157',
		'title': '',
		'imageId': '69648689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648685&x=3157',
		'title': '',
		'imageId': '69648685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648686&x=3157',
		'title': '',
		'imageId': '69648686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=69648687&x=3157',
		'title': '',
		'imageId': '69648687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=59270515&x=3157',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991705&docid=59270516&x=3157',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991705';

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