var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696435&x=3852',
		'title': '',
		'imageId': '67696435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696438&x=3852',
		'title': '',
		'imageId': '67696438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696442&x=3852',
		'title': '',
		'imageId': '67696442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696447&x=3852',
		'title': '',
		'imageId': '67696447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696450&x=3852',
		'title': '',
		'imageId': '67696450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696453&x=3852',
		'title': '',
		'imageId': '67696453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696456&x=3852',
		'title': '',
		'imageId': '67696456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696459&x=3852',
		'title': '',
		'imageId': '67696459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696466&x=3852',
		'title': '',
		'imageId': '67696466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696469&x=3852',
		'title': '',
		'imageId': '67696469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696472&x=3852',
		'title': '',
		'imageId': '67696472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696476&x=3852',
		'title': '',
		'imageId': '67696476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696480&x=3852',
		'title': '',
		'imageId': '67696480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696483&x=3852',
		'title': '',
		'imageId': '67696483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696486&x=3852',
		'title': '',
		'imageId': '67696486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=67696489&x=3852',
		'title': '',
		'imageId': '67696489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=68344243&x=3852',
		'title': '',
		'imageId': '68344243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=68571509&x=3852',
		'title': '',
		'imageId': '68571509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=68571512&x=3852',
		'title': '',
		'imageId': '68571512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=68571515&x=3852',
		'title': '',
		'imageId': '68571515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=68571518&x=3852',
		'title': '',
		'imageId': '68571518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001791&docid=68571521&x=3852',
		'title': '',
		'imageId': '68571521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001791';

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