var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443469&x=556',
		'title': '',
		'imageId': '69443469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443468&x=556',
		'title': '',
		'imageId': '69443468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443470&x=556',
		'title': '',
		'imageId': '69443470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443472&x=556',
		'title': '',
		'imageId': '69443472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443476&x=556',
		'title': '',
		'imageId': '69443476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443480&x=556',
		'title': '',
		'imageId': '69443480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443473&x=556',
		'title': '',
		'imageId': '69443473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443471&x=556',
		'title': '',
		'imageId': '69443471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443479&x=556',
		'title': '',
		'imageId': '69443479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443478&x=556',
		'title': '',
		'imageId': '69443478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443474&x=556',
		'title': '',
		'imageId': '69443474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443477&x=556',
		'title': '',
		'imageId': '69443477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443475&x=556',
		'title': '',
		'imageId': '69443475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443515&x=556',
		'title': '',
		'imageId': '69443515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443514&x=556',
		'title': '',
		'imageId': '69443514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443518&x=556',
		'title': '',
		'imageId': '69443518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443520&x=556',
		'title': '',
		'imageId': '69443520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443517&x=556',
		'title': '',
		'imageId': '69443517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443516&x=556',
		'title': '',
		'imageId': '69443516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443524&x=556',
		'title': '',
		'imageId': '69443524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443525&x=556',
		'title': '',
		'imageId': '69443525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443522&x=556',
		'title': '',
		'imageId': '69443522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443526&x=556',
		'title': '',
		'imageId': '69443526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986666&docid=69443523&x=556',
		'title': '',
		'imageId': '69443523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986666';

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