var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827443&x=452',
		'title': '',
		'imageId': '69827443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827444&x=452',
		'title': '',
		'imageId': '69827444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827445&x=452',
		'title': '',
		'imageId': '69827445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827446&x=452',
		'title': '',
		'imageId': '69827446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827447&x=452',
		'title': '',
		'imageId': '69827447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827448&x=452',
		'title': '',
		'imageId': '69827448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827449&x=452',
		'title': '',
		'imageId': '69827449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827450&x=452',
		'title': '',
		'imageId': '69827450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827451&x=452',
		'title': '',
		'imageId': '69827451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827452&x=452',
		'title': '',
		'imageId': '69827452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827453&x=452',
		'title': '',
		'imageId': '69827453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827454&x=452',
		'title': '',
		'imageId': '69827454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827455&x=452',
		'title': '',
		'imageId': '69827455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827456&x=452',
		'title': '',
		'imageId': '69827456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827457&x=452',
		'title': '',
		'imageId': '69827457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827458&x=452',
		'title': '',
		'imageId': '69827458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827459&x=452',
		'title': '',
		'imageId': '69827459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827460&x=452',
		'title': '',
		'imageId': '69827460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827461&x=452',
		'title': '',
		'imageId': '69827461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827462&x=452',
		'title': '',
		'imageId': '69827462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827463&x=452',
		'title': '',
		'imageId': '69827463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827464&x=452',
		'title': '',
		'imageId': '69827464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827465&x=452',
		'title': '',
		'imageId': '69827465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004680&docid=69827466&x=452',
		'title': '',
		'imageId': '69827466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004680';

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