var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157497&x=2324',
		'title': '',
		'imageId': '69157497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157498&x=2324',
		'title': '',
		'imageId': '69157498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157499&x=2324',
		'title': '',
		'imageId': '69157499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157500&x=2324',
		'title': '',
		'imageId': '69157500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157501&x=2324',
		'title': '',
		'imageId': '69157501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157502&x=2324',
		'title': '',
		'imageId': '69157502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157503&x=2324',
		'title': '',
		'imageId': '69157503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157504&x=2324',
		'title': '',
		'imageId': '69157504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157505&x=2324',
		'title': '',
		'imageId': '69157505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157506&x=2324',
		'title': '',
		'imageId': '69157506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157507&x=2324',
		'title': '',
		'imageId': '69157507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157508&x=2324',
		'title': '',
		'imageId': '69157508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157509&x=2324',
		'title': '',
		'imageId': '69157509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157510&x=2324',
		'title': '',
		'imageId': '69157510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157511&x=2324',
		'title': '',
		'imageId': '69157511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157512&x=2324',
		'title': '',
		'imageId': '69157512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157513&x=2324',
		'title': '',
		'imageId': '69157513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157514&x=2324',
		'title': '',
		'imageId': '69157514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157515&x=2324',
		'title': '',
		'imageId': '69157515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157516&x=2324',
		'title': '',
		'imageId': '69157516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157517&x=2324',
		'title': '',
		'imageId': '69157517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157518&x=2324',
		'title': '',
		'imageId': '69157518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157519&x=2324',
		'title': '',
		'imageId': '69157519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975451&docid=69157520&x=2324',
		'title': '',
		'imageId': '69157520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975451';

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