var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503519&x=5959',
		'title': '',
		'imageId': '61503519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503520&x=5959',
		'title': '',
		'imageId': '61503520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503521&x=5959',
		'title': '',
		'imageId': '61503521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503522&x=5959',
		'title': '',
		'imageId': '61503522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503523&x=5959',
		'title': '',
		'imageId': '61503523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503524&x=5959',
		'title': '',
		'imageId': '61503524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503525&x=5959',
		'title': '',
		'imageId': '61503525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503526&x=5959',
		'title': '',
		'imageId': '61503526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503527&x=5959',
		'title': '',
		'imageId': '61503527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503528&x=5959',
		'title': '',
		'imageId': '61503528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503529&x=5959',
		'title': '',
		'imageId': '61503529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503530&x=5959',
		'title': '',
		'imageId': '61503530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503531&x=5959',
		'title': '',
		'imageId': '61503531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503532&x=5959',
		'title': '',
		'imageId': '61503532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503533&x=5959',
		'title': '',
		'imageId': '61503533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503534&x=5959',
		'title': '',
		'imageId': '61503534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503535&x=5959',
		'title': '',
		'imageId': '61503535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503536&x=5959',
		'title': '',
		'imageId': '61503536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503537&x=5959',
		'title': '',
		'imageId': '61503537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503538&x=5959',
		'title': '',
		'imageId': '61503538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503539&x=5959',
		'title': '',
		'imageId': '61503539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503540&x=5959',
		'title': '',
		'imageId': '61503540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503541&x=5959',
		'title': '',
		'imageId': '61503541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503542&x=5959',
		'title': '',
		'imageId': '61503542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503543&x=5959',
		'title': '',
		'imageId': '61503543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001818&docid=61503544&x=5959',
		'title': '',
		'imageId': '61503544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001818';

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