var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806592&x=448',
		'title': '',
		'imageId': '69806592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806597&x=448',
		'title': '',
		'imageId': '69806597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806636&x=448',
		'title': '',
		'imageId': '69806636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806629&x=448',
		'title': '',
		'imageId': '69806629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806627&x=448',
		'title': '',
		'imageId': '69806627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806634&x=448',
		'title': '',
		'imageId': '69806634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806638&x=448',
		'title': '',
		'imageId': '69806638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806628&x=448',
		'title': '',
		'imageId': '69806628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806619&x=448',
		'title': '',
		'imageId': '69806619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806583&x=448',
		'title': '',
		'imageId': '69806583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806607&x=448',
		'title': '',
		'imageId': '69806607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806580&x=448',
		'title': '',
		'imageId': '69806580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806601&x=448',
		'title': '',
		'imageId': '69806601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806620&x=448',
		'title': '',
		'imageId': '69806620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806600&x=448',
		'title': '',
		'imageId': '69806600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806610&x=448',
		'title': '',
		'imageId': '69806610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806614&x=448',
		'title': '',
		'imageId': '69806614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806588&x=448',
		'title': '',
		'imageId': '69806588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806579&x=448',
		'title': '',
		'imageId': '69806579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806590&x=448',
		'title': '',
		'imageId': '69806590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806582&x=448',
		'title': '',
		'imageId': '69806582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806581&x=448',
		'title': '',
		'imageId': '69806581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806613&x=448',
		'title': '',
		'imageId': '69806613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003845&docid=69806578&x=448',
		'title': '',
		'imageId': '69806578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003845';

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