var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574084&x=1247',
		'title': '',
		'imageId': '70574084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574091&x=1247',
		'title': '',
		'imageId': '70574091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574100&x=1247',
		'title': '',
		'imageId': '70574100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574106&x=1247',
		'title': '',
		'imageId': '70574106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574099&x=1247',
		'title': '',
		'imageId': '70574099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574093&x=1247',
		'title': '',
		'imageId': '70574093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574092&x=1247',
		'title': '',
		'imageId': '70574092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574102&x=1247',
		'title': '',
		'imageId': '70574102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574096&x=1247',
		'title': '',
		'imageId': '70574096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574097&x=1247',
		'title': '',
		'imageId': '70574097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574095&x=1247',
		'title': '',
		'imageId': '70574095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574098&x=1247',
		'title': '',
		'imageId': '70574098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574094&x=1247',
		'title': '',
		'imageId': '70574094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574101&x=1247',
		'title': '',
		'imageId': '70574101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574110&x=1247',
		'title': '',
		'imageId': '70574110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574103&x=1247',
		'title': '',
		'imageId': '70574103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574086&x=1247',
		'title': '',
		'imageId': '70574086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574112&x=1247',
		'title': '',
		'imageId': '70574112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574108&x=1247',
		'title': '',
		'imageId': '70574108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574105&x=1247',
		'title': '',
		'imageId': '70574105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574087&x=1247',
		'title': '',
		'imageId': '70574087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574107&x=1247',
		'title': '',
		'imageId': '70574107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574109&x=1247',
		'title': '',
		'imageId': '70574109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574111&x=1247',
		'title': '',
		'imageId': '70574111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574089&x=1247',
		'title': '',
		'imageId': '70574089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574104&x=1247',
		'title': '',
		'imageId': '70574104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574085&x=1247',
		'title': '',
		'imageId': '70574085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574088&x=1247',
		'title': '',
		'imageId': '70574088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=70574090&x=1247',
		'title': '',
		'imageId': '70574090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=59270515&x=1247',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021325&docid=59270516&x=1247',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021325';

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